mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-30 13:02:46 +08:00
修复环境变量问题
This commit is contained in:
parent
ab5dd69db3
commit
cb26d696b8
@ -13,6 +13,7 @@ const { shell } = require('electron');
|
|||||||
|
|
||||||
pluginInfo = JSON.parse(fs.readFileSync(path.join(__dirname, 'plugin.json')));
|
pluginInfo = JSON.parse(fs.readFileSync(path.join(__dirname, 'plugin.json')));
|
||||||
logo = nativeImage.createFromPath(path.join(__dirname, 'logo.png'));
|
logo = nativeImage.createFromPath(path.join(__dirname, 'logo.png'));
|
||||||
|
process.env.PATH += ':/usr/local/bin:/usr/local/sbin'
|
||||||
|
|
||||||
messageBox = (options, callback) => {
|
messageBox = (options, callback) => {
|
||||||
dialog.showMessageBox(BrowserWindow.getFocusedWindow(), options, index => {
|
dialog.showMessageBox(BrowserWindow.getFocusedWindow(), options, index => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user