ignoring cancellation errors

pull/1705/head
antelle 2 years ago
parent ff54c2070d
commit e298d5fbd8
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C

@ -59,7 +59,11 @@ if (args.update) {
throw e;
}
} else if (args.install) {
runScriptOrDie('chown -R 0 /Applications/KeeWeb.app', { administratorPrivileges: true });
try {
app.doShellScript('chown -R 0 /Applications/KeeWeb.app', { administratorPrivileges: true });
} catch (e) {
$.exit(1);
}
} else {
throw 'Unknown operation';
}

Loading…
Cancel
Save