Skip to content

Commit 2e7f9ea

Browse files
bsodmikeeugene2candy
authored andcommittedApr 10, 2021
Add the option to disable fullscreen mode (GitSquared#830)
1 parent d928c0b commit 2e7f9ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/_boot.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ if (!fs.existsSync(settingsFile)) {
8080
port: 3000,
8181
nointro: false,
8282
nocursor: false,
83+
forceFullscreen: true,
8384
allowWindowed: false,
8485
excludeThreadsFromToplist: true,
8586
hideDotfiles: false,
@@ -178,7 +179,7 @@ function createWindow(settings) {
178179
show: false,
179180
resizable: true,
180181
movable: settings.allowWindowed || false,
181-
fullscreen: true,
182+
fullscreen: settings.forceFullscreen || false,
182183
autoHideMenuBar: true,
183184
frame: settings.allowWindowed || false,
184185
backgroundColor: '#000000',

0 commit comments

Comments
 (0)