1
0
forked from x/volcanos
This commit is contained in:
shylinux 2021-11-15 10:36:52 +08:00
parent 7366dfb453
commit ed46a3e89b

View File

@ -99,10 +99,9 @@ Volcanos("onaction", {help: "交互操作", list: [
can.search(event, ["Header.onaction.share"]) can.search(event, ["Header.onaction.share"])
}, },
"生成脚本": function(event, can, button) { var conf = can.Conf() "生成脚本": function(event, can, button) { var conf = can.Conf()
var args = (conf.index||"")+ice.SP+can.Input("", true).join(ice.SP) var args = can.Input("", true).join(ice.SP); var list = [
var list = [
"export ctx_dev="+location.origin+"; ctx_temp=$(mktemp); curl -fsSL $ctx_dev -o $ctx_temp;"+ "export ctx_dev="+location.origin+"; ctx_temp=$(mktemp); curl -fsSL $ctx_dev -o $ctx_temp;"+
" source $ctx_temp "+args, "ish_sys_dev_run_command "+args, " source $ctx_temp "+(conf.index||"")+ice.SP+args, "ish_sys_dev_run_command "+args,
"ish_sys_dev_run_action", "ish_sys_dev_run_source", "ish_sys_dev_run_action", "ish_sys_dev_run_source",
] ]
var ui = can.user.toast(can, {title: button, duration: -1, width: -300, var ui = can.user.toast(can, {title: button, duration: -1, width: -300,