fix: 修复错误的打印方式

This commit is contained in:
spiritlhl
2025-07-27 23:55:15 +08:00
committed by GitHub
parent dbb7a9a666
commit 8185682611
+1 -1
View File
@@ -52,7 +52,7 @@ func main() {
}
res := system.CheckSystemInfo(language)
fmt.Println("--------------------------------------------------")
fmt.Printf(strings.ReplaceAll(res+ipInfo, "\n\n", "\n"))
fmt.Print(strings.ReplaceAll(res+ipInfo, "\n\n", "\n"))
fmt.Println("--------------------------------------------------")
if runtime.GOOS == "windows" || runtime.GOOS == "darwin" {
fmt.Println("Press Enter to exit...")