Only draw CET by default on Windows
This commit is contained in:
parent
6a172911bd
commit
0f4db3f5d4
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ const store = new Store();
|
||||||
|
|
||||||
if (store.has('drawCustomTitleBar') !== true) {
|
if (store.has('drawCustomTitleBar') !== true) {
|
||||||
// Default to false if on MacOS, otherwise true
|
// Default to false if on MacOS, otherwise true
|
||||||
store.set('drawCustomTitleBar', (process.platform !== 'darwin') ? true : false)
|
store.set('drawCustomTitleBar', (process.platform === 'win32') ? true : false)
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports.store = store
|
module.exports.store = store
|
||||||
Loading…
Add table
Add a link
Reference in a new issue