1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-25 16:58:06 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-07-16 14:04:57 +08:00
parent edbde954ce
commit 47af7b74c5
10 changed files with 27 additions and 21 deletions

View File

@ -28,7 +28,7 @@
~web.chat.macos
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 "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"

View File

@ -23,5 +23,7 @@ ish_miss_prepare go-qrcode
ish_miss_prepare websocket
ish_miss_prepare webview
ish_miss_prepare matrix
ish_miss_prepare word-dict
ish_miss_prepare wubi-dict
ish_miss_make

View File

@ -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"]},
}},
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: {
web: {name: "应用 web", icon: "bi bi-browser-chrome", index: ["broad", "serve", "space", "dream", "share"]},

View File

@ -8,11 +8,9 @@ main() {
;;
dev) # 开发环境
shift && prepare_system; require miss.sh; [ -f ~/.gitconfig ] || ish_dev_git_prepare
if [ -n "$ctx_pod" ]; then
git clone $ctx_dev/chat/pod/$ctx_pod; cd $ctx_pod && source etc/miss.sh dev dev "$@"
else
git clone $ctx_dev contexts; cd contexts && source etc/miss.sh dev dev "$@"
fi
git config --global "url.$ctx_dev/x/.insteadof" "${ctx_repos%/*}/"
git clone $ctx_repos ${ctx_repos##*/}; cd ${ctx_repos##*/} && source etc/miss.sh
ish_miss_serve_log dev dev "$@"
;;
cmd) # 命令环境
ish_sys_dev_init >/dev/null; shift; [ -n "$*" ] && ish_sys_dev_run "$@"

View File

@ -15,6 +15,8 @@ body.dark {
--panel-output-fg-color:var(--body-fg-color);
--plugin-bg-color:var(--body-bg-color);
--plugin-fg-color:var(--body-fg-color);
/* --plugin-border-color:dimgray; */
--plugin-border-color:#404141;
--plugin-radius:var(--input-radius);
--float-fg-color:var(--plugin-fg-color);

View File

@ -1,6 +0,0 @@
FROM alpine
WORKDIR /root/contexts
COPY ice.linux.amd64 bin/ice.bin
CMD ./bin/ice.bin forever start dev dev

View 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"}}

View 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"}}

View File

@ -7,6 +7,14 @@
"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": {
"meta": {
"name": "localhost:20001",

View File

@ -7,14 +7,6 @@
"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": {
"meta": {
"icon": "usr/icons/Safari.png",
@ -54,5 +46,13 @@
"name": "Terminal",
"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"
}
}
}