mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 02:13:33 +00:00
Add setting to disable auto update
This commit is contained in:
parent
6ccef6e515
commit
293d8ec584
5 changed files with 53 additions and 5 deletions
|
|
@ -295,9 +295,10 @@ const createWindow = async () => {
|
|||
return { action: 'deny' };
|
||||
});
|
||||
|
||||
// Remove this if your app does not use auto updates
|
||||
// eslint-disable-next-line
|
||||
new AppUpdater();
|
||||
if (store.get('disable_auto_updates') !== true) {
|
||||
// eslint-disable-next-line
|
||||
new AppUpdater();
|
||||
}
|
||||
};
|
||||
|
||||
app.commandLine.appendSwitch('disable-features', 'HardwareMediaKeyHandling,MediaSessionService');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue