Electron-486 (Add an option to configure Windows 10 title bar) (#389)

- Initial title bar menu item implementation
- Allow users to customization title bar style
- Add separators for menu item and hide action items
- Fix menu item separator and bold text in installer
This commit is contained in:
Kiran Niranjan
2018-06-06 17:27:10 +05:30
committed by Vishwas Shashidhar
parent a54266a0ae
commit d1c1e3caa2
10 changed files with 378 additions and 102 deletions

View File

@@ -21,7 +21,15 @@ const configFileName = 'Symphony.config';
let userConfig;
let globalConfig;
let ignoreSettings = ['minimizeOnClose', 'launchOnStartup', 'alwaysOnTop', 'url', 'memoryRefresh', 'bringToFront'];
let ignoreSettings = [
'minimizeOnClose',
'launchOnStartup',
'alwaysOnTop',
'url',
'memoryRefresh',
'bringToFront',
'isCustomTitleBar'
];
/**
* Tries to read given field from user config file, if field doesn't exist