|
|
|
@ -47,7 +47,9 @@ if (config.get('enable_hidpi_support') && (process.platform === 'win32')) {
|
|
|
|
|
app.commandLine.appendSwitch('force-device-scale-factor', '1') |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
app.setAppUserModelId('com.saenzramiro.rambox'); |
|
|
|
|
// 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
|
|
|
|
|
app.setAppUserModelId('com.squirrel.Rambox.Rambox'); |
|
|
|
|
|
|
|
|
|
// Menu
|
|
|
|
|
const appMenu = require('./menu')(config); |
|
|
|
|