aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.js
diff options
context:
space:
mode:
authorLibravatar haraldox <hnaumann+github@gmail.com>2018-02-22 17:03:33 +0100
committerLibravatar haraldox <hnaumann+github@gmail.com>2018-02-22 17:03:33 +0100
commit136be27ef9185f48262d3ff0e7f754bb5590de45 (patch)
tree790bbd79821a8e355e277c04616d39a7b280f8c1 /src/index.js
parentremove electron frame for Windows testing on macOS (diff)
downloadferdium-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.js2
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,