Skip to content

Commit 6705ee9

Browse files
committed
autostart: only update on win32
1 parent 120d1a5 commit 6705ee9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/autoStart.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ exports.uninstall = cb => {
5555
}
5656
};
5757

58-
exports.update = cb => exports.isInstalled(installed => installed ? exports.install(cb) : cb());
58+
exports.update = cb => process.platform === 'win32' && exports.isInstalled(installed => installed ? exports.install(cb) : cb());
5959

6060
exports.isInstalled = cb => {
6161
switch (process.platform) {

0 commit comments

Comments
 (0)