mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-07 21:46:12 +08:00
macos添加部分环境变量
This commit is contained in:
parent
f88b17052b
commit
84b914b044
@ -46,7 +46,7 @@ window.multiProcessDetection = () => {
|
||||
|
||||
// axios.defaults.adapter = require('axios/lib/adapters/http')
|
||||
|
||||
if (!utools.isWindows()) process.env.PATH += ':/usr/local/bin:/usr/local/sbin'
|
||||
if (!utools.isWindows()) process.env.PATH += ':/usr/local/bin:/usr/local/sbin:/opt/homebrew/bin:/opt/homebrew/sbin'
|
||||
|
||||
const shortCodes = [
|
||||
|
||||
@ -634,7 +634,7 @@ window.runCodeFile = (cmd, option, terminal, callback, realTime=true) => {
|
||||
let stdout = chunks.join("");
|
||||
let stderr = err_chunks.join("");
|
||||
callback(stdout, stderr)
|
||||
})
|
||||
})
|
||||
}
|
||||
return child
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user