|
|
@ -63,6 +63,10 @@ if (config.get('enable_hidpi_support') && (process.platform === 'win32')) { |
|
|
|
|
|
|
|
|
|
|
|
app.commandLine.appendSwitch('lang', config.get('locale') === 'en' ? 'en-US' : config.get('locale')); |
|
|
|
app.commandLine.appendSwitch('lang', config.get('locale') === 'en' ? 'en-US' : config.get('locale')); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Temporary fix to load Twitter and other websites inside webviews
|
|
|
|
|
|
|
|
// Bug related with Electron: https://github.com/electron/electron/issues/25469
|
|
|
|
|
|
|
|
app.commandLine.appendSwitch('disable-features', 'CrossOriginOpenerPolicy'); |
|
|
|
|
|
|
|
|
|
|
|
// Because we build it using Squirrel, it will assign UserModelId automatically, so we match it here to display notifications correctly.
|
|
|
|
// Because we build it using Squirrel, it will assign UserModelId automatically, so we match it here to display notifications correctly.
|
|
|
|
// https://github.com/electron-userland/electron-builder/issues/362
|
|
|
|
// https://github.com/electron-userland/electron-builder/issues/362
|
|
|
|
app.setAppUserModelId('com.grupovrs.ramboxce'); |
|
|
|
app.setAppUserModelId('com.grupovrs.ramboxce'); |
|
|
|