mirror of
https://github.com/Xpl0itU/WiiUDownloader.git
synced 2025-05-29 06:25:30 -04:00
Fix path checking
This commit is contained in:
parent
cc1d36a395
commit
d46b079935
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ func main() {
|
|||
|
||||
bundlePath := filepath.Join(filepath.Dir(filepath.Dir(execPath)))
|
||||
filePath := filepath.Join(bundlePath, "MacOS/lib/share/glib-2.0/schemas")
|
||||
if _, err := os.Stat("/path/to/whatever"); os.IsExist(err) {
|
||||
if _, err := os.Stat(filePath); os.IsExist(err) {
|
||||
os.Setenv("GSETTINGS_SCHEMA_DIR", filePath)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue