1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-25 08:48:06 +08:00
This commit is contained in:
shaoying 2020-05-14 22:55:27 +08:00
parent bf8f214f37
commit 08e9e4e80e
2 changed files with 29 additions and 2 deletions

View File

@ -1,3 +1,7 @@
export CGO_ENABLED=0
export GOPRIVATE=github.com
export GOPROXY=https://goproxy.cn
all:
@echo && date
GOPRIVATE=github.com GOPROXY=https://goproxy.cn CGO_ENABLED=0 go build -o bin/ice.bin src/main.go && chmod u+x bin/ice.bin && ./bin/ice.sh restart
go build -o bin/ice.bin src/main.go && chmod u+x bin/ice.bin && ./bin/ice.sh restart

View File

@ -1,5 +1,28 @@
Volcanos("onengine", { river: {
"one": {name: "第一组", storm: {
"main": {name: "main", storm: {
"main": {name: "main", action: [
{name: "free", help: "内存", inputs: [
{type: "text", name: "name", value: "free"},
{type: "text", name: "value", value: "-h"},
{type: "button", name: "查看"},
], index: "cli.system"},
{name: "df", help: "磁盘", inputs: [
{type: "text", name: "name", value: "df"},
{type: "text", name: "value", value: "-h"},
{type: "button", name: "查看"},
], index: "cli.system"},
{name: "ps", help: "进程", inputs: [
{type: "text", name: "name", value: "ps"},
{type: "button", name: "查看"},
], index: "cli.system"},
{name: "ls", help: "文件", inputs: [
{type: "text", name: "name", value: "ls"},
{type: "text", name: "value", value: "-l"},
{type: "button", name: "查看"},
], index: "cli.system"},
{name: "ifconfig", help: "网卡", index: "tcp.ifconfig"},
]},
"hello": {name: "应用1", action: [
{name: "some", help: "some", inputs: [
{type: "text", name: "one"},