diff options
author | 2018-03-19 13:04:30 +0100 | |
---|---|---|
committer | 2018-03-19 13:04:30 +0100 | |
commit | 698e78484b70a76658d4931e5865ba9ac315b61f (patch) | |
tree | 955bb2599cf612101006206c5bb90a21559cdf4c /src/index.js | |
parent | Add .nvmrc to match electron node version (diff) | |
download | ferdium-app-698e78484b70a76658d4931e5865ba9ac315b61f.tar.gz ferdium-app-698e78484b70a76658d4931e5865ba9ac315b61f.tar.zst ferdium-app-698e78484b70a76658d4931e5865ba9ac315b61f.zip |
Disable custom titlebar for Linux
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.js b/src/index.js index 96bcea4ac..cc0f1aa45 100644 --- a/src/index.js +++ b/src/index.js | |||
@@ -4,7 +4,7 @@ import path from 'path'; | |||
4 | 4 | ||
5 | import windowStateKeeper from 'electron-window-state'; | 5 | import windowStateKeeper from 'electron-window-state'; |
6 | 6 | ||
7 | import { isDevMode, isMac, isWindows } from './environment'; | 7 | import { isDevMode, isMac, isWindows, isLinux } from './environment'; |
8 | import ipcApi from './electron/ipc-api'; | 8 | import ipcApi from './electron/ipc-api'; |
9 | import Tray from './lib/Tray'; | 9 | import Tray from './lib/Tray'; |
10 | import Settings from './electron/Settings'; | 10 | import Settings from './electron/Settings'; |
@@ -73,7 +73,7 @@ const createWindow = () => { | |||
73 | minWidth: 600, | 73 | minWidth: 600, |
74 | minHeight: 500, | 74 | minHeight: 500, |
75 | titleBarStyle: isMac ? 'hidden' : '', | 75 | titleBarStyle: isMac ? 'hidden' : '', |
76 | frame: false, | 76 | frame: isLinux ? true : false, |
77 | backgroundColor: '#3498db', | 77 | backgroundColor: '#3498db', |
78 | }); | 78 | }); |
79 | 79 | ||