Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
Add the option to disable fullscreen mode (#830)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsodmike authored Nov 4, 2020
1 parent 21b69d6 commit 3973aa0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/_boot.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ if (!fs.existsSync(settingsFile)) {
port: 3000,
nointro: false,
nocursor: false,
forceFullscreen: true,
allowWindowed: false,
excludeThreadsFromToplist: true,
hideDotfiles: false,
Expand Down Expand Up @@ -178,7 +179,7 @@ function createWindow(settings) {
show: false,
resizable: true,
movable: settings.allowWindowed || false,
fullscreen: true,
fullscreen: settings.forceFullscreen || false,
autoHideMenuBar: true,
frame: settings.allowWindowed || false,
backgroundColor: '#000000',
Expand Down

0 comments on commit 3973aa0

Please sign in to comment.