支持鸿蒙系统

This commit is contained in:
2025-10-21 16:29:01 +08:00
parent a8a54cc1bc
commit 4008b44a77
4 changed files with 9 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ func RunScriptRun(args ...string) error {
return nil
}
if !(*tos == 1 || *tos == 2) {
if !(*tos == 1 || *tos == 2 || *tos == 7) {
fmt.Fprintln(os.Stderr, "OS error")
return nil
}