mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 08:48:06 +08:00
opt some
This commit is contained in:
parent
bf8f214f37
commit
08e9e4e80e
6
Makefile
6
Makefile
@ -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
|
||||
|
@ -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"},
|
||||
|
Loading…
x
Reference in New Issue
Block a user