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 return res
} }
func resolveAbsScriptsDir() string {
cwd, _ := os.Getwd()
return filepath.Join(cwd, "data", "scripts")
}
+1
View File
@@ -4,6 +4,7 @@ import (
"os" "os"
"os/exec" "os/exec"
"runtime" "runtime"
"strings"
) )
// GetShell 返回当前操作系统的 shell 和参数 // GetShell 返回当前操作系统的 shell 和参数