autostart: only update on win32

This commit is contained in:
Ducko 2023-04-03 22:32:40 +01:00
parent 120d1a5b16
commit 6705ee9933
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ exports.uninstall = cb => {
}
};
exports.update = cb => exports.isInstalled(installed => installed ? exports.install(cb) : cb());
exports.update = cb => process.platform === 'win32' && exports.isInstalled(installed => installed ? exports.install(cb) : cb());
exports.isInstalled = cb => {
switch (process.platform) {