mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-08-10 14:59:39 +08:00
兼容老版本
This commit is contained in:
parent
bb247ee8c8
commit
1edd928927
@ -474,7 +474,13 @@ let getSandboxFuns = () => {
|
||||
electron: electron,
|
||||
axios: axios,
|
||||
Audio: Audio,
|
||||
fetch: fetch
|
||||
fetch: fetch,
|
||||
// 兼容老版本
|
||||
fs: fs,
|
||||
path: path,
|
||||
os: os,
|
||||
child_process: child_process,
|
||||
util: util,
|
||||
}
|
||||
shortCodes.forEach(f => {
|
||||
sandbox[f.name] = f
|
||||
|
Loading…
x
Reference in New Issue
Block a user