forked from x/ContextOS
opt some
This commit is contained in:
parent
edbde954ce
commit
47af7b74c5
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
~web.chat.macos
|
~web.chat.macos
|
||||||
applications install "dream" web.dream icon "usr/icons/Mission Control.png"
|
applications install "dream" web.dream icon "usr/icons/Mission Control.png"
|
||||||
applications install "repos" web.code.git.repos icon "usr/icons/git.jpg"
|
applications install "repos" web.code.git.status icon "usr/icons/git.jpg"
|
||||||
applications install "compile" web.code.compile icon "usr/icons/go.png"
|
applications install "compile" web.code.compile icon "usr/icons/go.png"
|
||||||
applications install "Activity" cli.procinfo icon "usr/icons/Activity Monitor.png"
|
applications install "Activity" cli.procinfo icon "usr/icons/Activity Monitor.png"
|
||||||
applications install "Settings" web.chat.macos.opens args "System Settings" icon "usr/icons/System Settings.png"
|
applications install "Settings" web.chat.macos.opens args "System Settings" icon "usr/icons/System Settings.png"
|
||||||
|
@ -23,5 +23,7 @@ ish_miss_prepare go-qrcode
|
|||||||
ish_miss_prepare websocket
|
ish_miss_prepare websocket
|
||||||
ish_miss_prepare webview
|
ish_miss_prepare webview
|
||||||
ish_miss_prepare matrix
|
ish_miss_prepare matrix
|
||||||
|
ish_miss_prepare word-dict
|
||||||
|
ish_miss_prepare wubi-dict
|
||||||
|
|
||||||
ish_miss_make
|
ish_miss_make
|
||||||
|
@ -6,7 +6,7 @@ Volcanos({river: {
|
|||||||
studio: {name: "研发 studio", icon: "bi bi-git", index: ["web.code.vimer", "web.code.git.status", "web.chat.favor", "web.team.plan", "web.wiki.word"]},
|
studio: {name: "研发 studio", icon: "bi bi-git", index: ["web.code.vimer", "web.code.git.status", "web.chat.favor", "web.team.plan", "web.wiki.word"]},
|
||||||
}},
|
}},
|
||||||
profile: {name: "测试群", icon: "bi bi-list-columns", type: aaa.TECH, storm: {
|
profile: {name: "测试群", icon: "bi bi-list-columns", type: aaa.TECH, storm: {
|
||||||
release: {name: "发布 release", icon: "bi bi-list-check", index: ["web.code.compile", "web.code.publish", "web.code.pprof", "web.code.bench", "web.dream", "web.space", "web.code.git.service", "web.code.git.status"]},
|
issue: {name: "发布 issue", icon: "bi bi-list-check", index: ["web.code.compile", "web.code.publish", "web.code.bench", "web.code.pprof", "web.dream", "web.space", "web.code.git.service", "web.code.git.status"]},
|
||||||
}},
|
}},
|
||||||
operate: {name: "运维群", icon: "bi bi-gear", type: aaa.TECH, storm: {
|
operate: {name: "运维群", icon: "bi bi-gear", type: aaa.TECH, storm: {
|
||||||
web: {name: "应用 web", icon: "bi bi-browser-chrome", index: ["broad", "serve", "space", "dream", "share"]},
|
web: {name: "应用 web", icon: "bi bi-browser-chrome", index: ["broad", "serve", "space", "dream", "share"]},
|
||||||
|
@ -8,11 +8,9 @@ main() {
|
|||||||
;;
|
;;
|
||||||
dev) # 开发环境
|
dev) # 开发环境
|
||||||
shift && prepare_system; require miss.sh; [ -f ~/.gitconfig ] || ish_dev_git_prepare
|
shift && prepare_system; require miss.sh; [ -f ~/.gitconfig ] || ish_dev_git_prepare
|
||||||
if [ -n "$ctx_pod" ]; then
|
git config --global "url.$ctx_dev/x/.insteadof" "${ctx_repos%/*}/"
|
||||||
git clone $ctx_dev/chat/pod/$ctx_pod; cd $ctx_pod && source etc/miss.sh dev dev "$@"
|
git clone $ctx_repos ${ctx_repos##*/}; cd ${ctx_repos##*/} && source etc/miss.sh
|
||||||
else
|
ish_miss_serve_log dev dev "$@"
|
||||||
git clone $ctx_dev contexts; cd contexts && source etc/miss.sh dev dev "$@"
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
cmd) # 命令环境
|
cmd) # 命令环境
|
||||||
ish_sys_dev_init >/dev/null; shift; [ -n "$*" ] && ish_sys_dev_run "$@"
|
ish_sys_dev_init >/dev/null; shift; [ -n "$*" ] && ish_sys_dev_run "$@"
|
||||||
|
@ -15,6 +15,8 @@ body.dark {
|
|||||||
--panel-output-fg-color:var(--body-fg-color);
|
--panel-output-fg-color:var(--body-fg-color);
|
||||||
--plugin-bg-color:var(--body-bg-color);
|
--plugin-bg-color:var(--body-bg-color);
|
||||||
--plugin-fg-color:var(--body-fg-color);
|
--plugin-fg-color:var(--body-fg-color);
|
||||||
|
/* --plugin-border-color:dimgray; */
|
||||||
|
--plugin-border-color:#404141;
|
||||||
--plugin-radius:var(--input-radius);
|
--plugin-radius:var(--input-radius);
|
||||||
|
|
||||||
--float-fg-color:var(--plugin-fg-color);
|
--float-fg-color:var(--plugin-fg-color);
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
FROM alpine
|
|
||||||
|
|
||||||
WORKDIR /root/contexts
|
|
||||||
COPY ice.linux.amd64 bin/ice.bin
|
|
||||||
|
|
||||||
CMD ./bin/ice.bin forever start dev dev
|
|
1
src/template/web.code.publish/app.sh
Normal file
1
src/template/web.code.publish/app.sh
Normal file
@ -0,0 +1 @@
|
|||||||
|
export ctx_dev={{.Option "domain"}}{{.Option "ctx_env"}}; temp=$(mktemp); if curl -h &>/dev/null; then curl -o $temp -fsSL $ctx_dev; else wget -O $temp -q $ctx_dev; fi; source $temp app username {{.Option "user.name"}} usernick "{{.Option "user.nick"}}" {{.OptionArgs "token"}}
|
1
src/template/web.code.publish/dev.sh
Normal file
1
src/template/web.code.publish/dev.sh
Normal file
@ -0,0 +1 @@
|
|||||||
|
export ctx_dev={{.Option "domain"}} ctx_repos={{.Option "source"}}{{.Option "ctx_env"}}; temp=$(mktemp); if curl -h &>/dev/null; then curl -o $temp -fsSL $ctx_dev; else wget -O $temp -q $ctx_dev; fi; source $temp dev username {{.Option "user.name"}} usernick "{{.Option "user.nick"}}" {{.OptionArgs "token"}}
|
@ -7,6 +7,14 @@
|
|||||||
"type": "link"
|
"type": "link"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"343e1f": {
|
||||||
|
"meta": {
|
||||||
|
"name": "192.168.10.16:9020",
|
||||||
|
"text": "http://192.168.10.16:9020/",
|
||||||
|
"time": "2023-07-15 13:51:23.120",
|
||||||
|
"type": "link"
|
||||||
|
}
|
||||||
|
},
|
||||||
"417770": {
|
"417770": {
|
||||||
"meta": {
|
"meta": {
|
||||||
"name": "localhost:20001",
|
"name": "localhost:20001",
|
||||||
|
@ -7,14 +7,6 @@
|
|||||||
"time": "2023-07-12 10:16:45.614"
|
"time": "2023-07-12 10:16:45.614"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"72d11d": {
|
|
||||||
"meta": {
|
|
||||||
"icon": "/require/usr/icons/git.jpg",
|
|
||||||
"index": "web.code.git.repos",
|
|
||||||
"name": "repos",
|
|
||||||
"time": "2023-07-12 10:16:45.614"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"7b06e7": {
|
"7b06e7": {
|
||||||
"meta": {
|
"meta": {
|
||||||
"icon": "usr/icons/Safari.png",
|
"icon": "usr/icons/Safari.png",
|
||||||
@ -54,5 +46,13 @@
|
|||||||
"name": "Terminal",
|
"name": "Terminal",
|
||||||
"time": "2023-05-24 15:32:00.614"
|
"time": "2023-05-24 15:32:00.614"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"eac248": {
|
||||||
|
"meta": {
|
||||||
|
"icon": "/require/usr/icons/git.jpg",
|
||||||
|
"index": "web.code.git.status",
|
||||||
|
"name": "status",
|
||||||
|
"time": "2023-07-15 14:31:26.486"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user