WIP - rebuilding translator
This commit is contained in:
2
init.go
2
init.go
@@ -54,7 +54,7 @@ func init() {
|
||||
if err != nil {
|
||||
panic(errors.New("can not load: " + fileloc[x]))
|
||||
}
|
||||
err = ioutil.WriteFile(NmsTemp+"/"+fileloc[x], []byte(data), 0644)
|
||||
err = ioutil.WriteFile(NmsTemp+"/assets/lang/"+fileloc[x], []byte(data), 0644)
|
||||
if err != nil {
|
||||
panic(errors.New("can not write " + fileloc[x] + " to temp dir"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user