mirror of
https://github.com/Xpl0itU/WiiUDownloader.git
synced 2025-05-22 19:25:23 -04:00
Move data to resources
This commit is contained in:
parent
8c87f26614
commit
6443f8af34
2 changed files with 3 additions and 3 deletions
4
.github/workflows/macos.yml
vendored
4
.github/workflows/macos.yml
vendored
|
@ -25,8 +25,8 @@ jobs:
|
|||
- name: Package
|
||||
run: |
|
||||
python3 data/create_bundle.py
|
||||
mkdir -p out/WiiUDownloader.app/Contents/MacOS/lib/share/glib-2.0/schemas
|
||||
cp $(brew --prefix)/share/glib-2.0/schemas/* out/WiiUDownloader.app/Contents/MacOS/lib/share/glib-2.0/schemas
|
||||
mkdir -p out/WiiUDownloader.app/Contents/Resources/lib/share/glib-schemas
|
||||
cp $(brew --prefix)/share/glib-2.0/schemas/* out/WiiUDownloader.app/Contents/Resources/lib/share/glib-schemas
|
||||
sudo codesign --force --sign - out/WiiUDownloader.app
|
||||
create-dmg \
|
||||
--volname "WiiUDownloader" \
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue