mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-10-25 13:01:22 +08:00
兼容老版本
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user