mirror of
https://github.com/SikongJueluo/cc-utils.git
synced 2025-12-20 13:37:49 +08:00
move package and add tab component for tui famework
This commit is contained in:
@@ -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}}"
|
||||
|
||||
Reference in New Issue
Block a user