Move data to resources

This commit is contained in:
Xpl0itU 2023-07-20 14:29:26 +02:00
parent 8c87f26614
commit 6443f8af34
2 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@ func main() {
}
bundlePath := filepath.Join(filepath.Dir(filepath.Dir(execPath)))
filePath := filepath.Join(bundlePath, "MacOS/lib/share/glib-2.0/schemas")
filePath := filepath.Join(bundlePath, "Resources/lib/share/glib-schemas")
if _, err := os.Stat(filePath); os.IsExist(err) {
os.Setenv("GSETTINGS_SCHEMA_DIR", filePath)
}