From 042d2e07e217bf3f3bef83175670a73be785518a Mon Sep 17 00:00:00 2001 From: shylinux Date: Sat, 13 Nov 2021 14:49:51 +0800 Subject: [PATCH] opt some --- plugin/state.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/state.js b/plugin/state.js index 96d6f7c6..6076aa58 100644 --- a/plugin/state.js +++ b/plugin/state.js @@ -101,7 +101,7 @@ Volcanos("onaction", {help: "交互操作", list: [ "生成脚本": function(event, can, button) { var conf = can.Conf() var ui = can.user.toast(can, {title: button, duration: -1, width: -300, content: '
'+''+ - "export ctx_dev=http://9.134.115.203:9020; 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 "+(conf.index||"")+ice.SP+can.Input("", true).join(ice.SP)+ ''+'
', action: [cli.CLOSE], })