diff --git a/config.json b/config.json index 5444a09..7aacef1 100644 --- a/config.json +++ b/config.json @@ -1,7 +1,7 @@ { - "watchDir": "/path/to/path", - "zipDir": "/path/to/path", + "watchDir": "/root/dev/test1/rpHive2", + "zipDir": "/root/dev/test1/resource_packs/", "jsonFile": "manifest.json", - "zipFileName": "name_pack.zip", - "zip": "true" + "zipFileName": "andromeda.zip", + "zip": true } \ No newline at end of file diff --git a/main.go b/main.go index df4e380..c21bf43 100644 --- a/main.go +++ b/main.go @@ -2,7 +2,7 @@ package main import ( "archive/zip" - "encoding/json" + "encodiang/json" "github.com/fsnotify/fsnotify" "github.com/google/uuid" "io"