fix: build error

This commit is contained in:
engigu
2026-03-27 17:24:35 +08:00
parent 2c8a0b8967
commit f58ae241fb
2 changed files with 1 additions and 5 deletions
@@ -469,8 +469,3 @@ func splitKeywords(s string) []string {
}
return res
}
func resolveAbsScriptsDir() string {
cwd, _ := os.Getwd()
return filepath.Join(cwd, "data", "scripts")
}
+1
View File
@@ -4,6 +4,7 @@ import (
"os"
"os/exec"
"runtime"
"strings"
)
// GetShell 返回当前操作系统的 shell 和参数