From 775b537c4ee65bef26b37071bdeadbe99b2a745f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=8C=AF=E5=8D=8E=20=28Zhenhua=20WANG=29?= Date: Fri, 23 Sep 2022 16:06:02 +0800 Subject: [PATCH] Rename path/path_linux.go -> path/path_unix.go It now works on macOS. --- main.go | 2 ++ path/{path_linux.go => path_unix.go} | 0 2 files changed, 2 insertions(+) rename path/{path_linux.go => path_unix.go} (100%) diff --git a/main.go b/main.go index 78e6211..dce3aa2 100644 --- a/main.go +++ b/main.go @@ -135,6 +135,7 @@ func resolvePath(args []string) ([]string, error) { } func convert(filePath, dir string) error { + log.Printf("Converting %s", filePath) nf, err := ncm.NewNcmFile(filePath) if err != nil { return err @@ -194,6 +195,7 @@ func writeToFile(dst string, data []byte) error { return err } + log.Printf("Written to %s", dst) return nil } diff --git a/path/path_linux.go b/path/path_unix.go similarity index 100% rename from path/path_linux.go rename to path/path_unix.go