diff options
author | haraldox <hnaumann+github@gmail.com> | 2018-02-22 17:03:33 +0100 |
---|---|---|
committer | haraldox <hnaumann+github@gmail.com> | 2018-02-22 17:03:33 +0100 |
commit | 136be27ef9185f48262d3ff0e7f754bb5590de45 (patch) | |
tree | 790bbd79821a8e355e277c04616d39a7b280f8c1 /src/index.js | |
parent | remove electron frame for Windows testing on macOS (diff) | |
download | ferdium-app-136be27ef9185f48262d3ff0e7f754bb5590de45.tar.gz ferdium-app-136be27ef9185f48262d3ff0e7f754bb5590de45.tar.zst ferdium-app-136be27ef9185f48262d3ff0e7f754bb5590de45.zip |
override platform in code and simulate different environment
[MINOR] REFACTOR rename `FRANZ_PLATFORM` to `OS_PLATFORM`
[MINOR] FIX propTypes for `electron-react-titlebar`
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js index 170353fb0..e8818af96 100644 --- a/src/index.js +++ b/src/index.js | |||
@@ -72,7 +72,7 @@ const createWindow = () => { | |||
72 | height: mainWindowState.height, | 72 | height: mainWindowState.height, |
73 | minWidth: 600, | 73 | minWidth: 600, |
74 | minHeight: 500, | 74 | minHeight: 500, |
75 | titleBarStyle: process.env.FRANZ_PLATFORM || process.platform === 'win32' ? '' : 'hidden', | 75 | titleBarStyle: process.env.OS_PLATFORM || process.platform === 'win32' ? '' : 'hidden', |
76 | frame: false, | 76 | frame: false, |
77 | backgroundColor: '#3498db', | 77 | backgroundColor: '#3498db', |
78 | autoHideMenuBar: true, | 78 | autoHideMenuBar: true, |