move package and add tab component for tui famework

This commit is contained in:
2025-10-10 19:59:22 +08:00
parent a176433c4f
commit 61baedb606
14 changed files with 553 additions and 72 deletions

View File

@@ -1,4 +1,9 @@
set windows-shell := ["powershell.exe", "-NoLogo", "-Command"]
sync-path := if os_family() == "windows" {
"C:\\Users\\sikongjueluo\\AppData\\Roaming\\CraftOS-PC\\computer\\0\\user\\"
} else {
"/home/sikongjueluo/.local/share/craftos-pc/computer/0/user/"
}
build: build-autocraft build-accesscontrol build-test build-example sync
@@ -16,4 +21,4 @@ build-example:
pnpm tstl -p ./tsconfig.tuiExample.json
sync:
cp -r "./build/*" "C:\\Users\\sikongjueluo\\AppData\\Roaming\\CraftOS-PC\\computer\\0\\user\\"
rsync --delete -r "./build/" "{{sync-path}}"