From 136be27ef9185f48262d3ff0e7f754bb5590de45 Mon Sep 17 00:00:00 2001 From: haraldox Date: Thu, 22 Feb 2018 17:03:33 +0100 Subject: override platform in code and simulate different environment [MINOR] REFACTOR rename `FRANZ_PLATFORM` to `OS_PLATFORM` [MINOR] FIX propTypes for `electron-react-titlebar` --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/index.js') 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 = () => { height: mainWindowState.height, minWidth: 600, minHeight: 500, - titleBarStyle: process.env.FRANZ_PLATFORM || process.platform === 'win32' ? '' : 'hidden', + titleBarStyle: process.env.OS_PLATFORM || process.platform === 'win32' ? '' : 'hidden', frame: false, backgroundColor: '#3498db', autoHideMenuBar: true, -- cgit v1.2.3-70-g09d2