autostart: only update on win32
This commit is contained in:
parent
120d1a5b16
commit
6705ee9933
|
@ -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 => {
|
exports.isInstalled = cb => {
|
||||||
switch (process.platform) {
|
switch (process.platform) {
|
||||||
|
|
Loading…
Reference in New Issue