You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found this issue when working on the system on a Linux device. In the electron/WindowHelper.js file, within the createWindow() method, the following line is causing a runtime error on Linux:
this.mainWindow.setHiddenInMissionControl(true);
Error Found:
TypeError: this.mainWindow.setHiddenInMissionControl is not a function
Looking into it a bit, I found out this method is macOS-only, according to the Electron documentation.
Proposed Fix
Update the code to only call macOS-specific APIs conditionally, and make a default method otherwise for other OS.
Linux-specific improvements (optional): Optimization of stealth configs for Linux specifically
Request:
Apply the conditional check for macOS-only APIs to avoid platform-specific crashes.
Document these platform-specific behaviors in the code.
Let me know if you'd like me to open a PR for this directly!
The text was updated successfully, but these errors were encountered:
Issue
Found this issue when working on the system on a Linux device. In the
electron/WindowHelper.js
file, within thecreateWindow()
method, the following line is causing a runtime error on Linux:Error Found:
Looking into it a bit, I found out this method is macOS-only, according to the Electron documentation.
Proposed Fix
Request:
Let me know if you'd like me to open a PR for this directly!
The text was updated successfully, but these errors were encountered: