autostart: only update on win32
This commit is contained in:
parent
120d1a5b16
commit
6705ee9933
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue