Skip to content

Commit

Permalink
publisher and throttling
Browse files Browse the repository at this point in the history
  • Loading branch information
Farid-Karimli committed May 23, 2024
1 parent 75142ac commit 9fe0b42
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand All @@ -62,4 +63,16 @@ module.exports = {
[FuseV1Options.OnlyLoadAppFromAsar]: true,
}),
],
publishers: [
{
name: '@electron-forge/publisher-github',
config: {
repository: {
owner: 'Farid-Karimli',
name: 'AirMouse'
},
prerelease: true
}
}
]
};
1 change: 1 addition & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'},
Expand Down

0 comments on commit 9fe0b42

Please sign in to comment.