diff --git a/forge.config.js b/forge.config.js index 07bfc23..e45e91d 100644 --- a/forge.config.js +++ b/forge.config.js @@ -50,6 +50,7 @@ module.exports = { }, }, }, + // Fuses are used to enable/disable various Electron functionality // at package time, before code signing the application new FusesPlugin({ @@ -62,4 +63,16 @@ module.exports = { [FuseV1Options.OnlyLoadAppFromAsar]: true, }), ], + publishers: [ + { + name: '@electron-forge/publisher-github', + config: { + repository: { + owner: 'Farid-Karimli', + name: 'AirMouse' + }, + prerelease: true + } + } + ] }; diff --git a/src/main.js b/src/main.js index 05631be..a40d1e5 100644 --- a/src/main.js +++ b/src/main.js @@ -17,6 +17,7 @@ const createWindow = () => { nodeIntegration: true, contextIsolation: false, enableRemoteModule: true, + backgroundThrottling: false, }, titleBarStyle: "hidden", titleBarOverlay: (process.platform == "darwin") ? false: {color: '#5a9dd1', symbolColor: '#21526e'},