Created
March 28, 2023 14:05
-
-
Save ghostzero/984d5f66892cecbfd412edfca3df8f85 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Enables staying on fullscreen apps for macos https://github.com/electron/electron/pull/11599 | |
| win.setFullScreenable( false ) | |
| // VisibleOnFullscreen removed in https://github.com/electron/electron/pull/21706 | |
| win.setVisibleOnAllWorkspaces( true, { visibleOnFullScreen: true } ) | |
| // Values include normal, floating, torn-off-menu, modal-panel, main-menu, status, pop-up-menu, screen-saver | |
| win.setAlwaysOnTop( true, 'screen-saver' ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment