mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-08 06:16:27 +08:00
style: 函数名调整
This commit is contained in:
parent
a2a070d471
commit
59cd8f6191
@ -73,7 +73,7 @@ let getRemoteIcon = (selector, callback) => {
|
||||
|
||||
let getImg = (imgUrl, callback) => {
|
||||
let imgInfo = window.getFileInfo({ type: 'file', argvs: imgUrl, readfile: false })
|
||||
let imgPath = window.getQuickCommandScriptFile(imgInfo.ext)
|
||||
let imgPath = window.getQuickcommandTempFile(imgInfo.ext)
|
||||
quickcommand.downloadFile(imgUrl, imgPath).then(() => {
|
||||
window.getBase64Ico(imgPath).then(src => {
|
||||
callback(src)
|
||||
|
@ -177,7 +177,7 @@ import qcparser from "./qcparser.js"
|
||||
}, option.enterData)
|
||||
} else {
|
||||
var terminal = output == 'terminal' ? true : false
|
||||
outputOpts.scriptPath = window.getQuickCommandScriptFile(option.ext)
|
||||
outputOpts.scriptPath = window.getQuickcommandTempFile(option.ext)
|
||||
// 执行脚本
|
||||
window.runCodeFile(cmd, option, terminal, (stdout, stderr) => {
|
||||
switchQuickCommandResult(stdout, stderr, outputOpts)
|
||||
|
Loading…
x
Reference in New Issue
Block a user