We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f05b159 commit c13150cCopy full SHA for c13150c
bin/installer.js
@@ -18,10 +18,9 @@ const require = createRequire(
18
import.meta.url);
19
const pack = require('../package.json');
20
21
-const IS_MACOS = where('osascript');
22
const CMD = {
23
win32: join(__dirname, 'sudo.bat'),
24
- darwin: ((IS_MACOS === null) ? 'osascript' : join(IS_MACOS, 'osascript'))
+ darwin: 'sudo osascript'
25
};
26
const SYSTEM = {
27
win32: join(__dirname, 'installChocolatey.cmd'),
0 commit comments