1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-25 08:48:06 +08:00
This commit is contained in:
bergyu 2022-01-04 16:04:21 +08:00
parent 3e43fc5500
commit 9cd148e1d0
3 changed files with 4 additions and 1 deletions

View File

@ -12,6 +12,8 @@ ice:
app:
CGO_ENABLED=1 go build -o usr/publish/contexts.app/Contents/MacOS/contexts src/app.go src/binpack.go && open usr/publish/contexts.app
hdiutil create usr/publish/tmp.dmg -ov -volname "ContextsInstall" -fs HFS+ -srcfolder "usr/publish/contexts.app"
hdiutil convert usr/publish/tmp.dmg -format UDZO -o usr/publish/ContextsInstall.dmg
%: src/%.go
@echo && date

View File

@ -16,4 +16,5 @@ ish_sys_path_insert $PWD/bin
ps aux |grep -v grep |grep ice.bin &>/dev/null && return
ps aux |grep -v grep |grep tmux &>/dev/null && return
sleep 3
cd $CTX_ROOT && source etc/miss.sh

View File

@ -11,7 +11,7 @@ import (
func main() {
os.Chdir(path.Join("/Users", os.Getenv("USER"), "contexts"))
go ice.Run("serve", "start", "dev", "shy")
go ice.Run("serve", "start")
time.Sleep(time.Second)
app.Run()
}