diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 7e4b9a2cb..c737d225e 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -33,11 +33,10 @@ jobs: run: | mkdir -p tuba-macos/Tuba.app/Contents/MacOS mv tuba-macos/bin/dev.geopjr.Tuba tuba-macos/Tuba.app/Contents/MacOS/ - mkdir -p tuba-macos/Tuba.app/Contents/Resources + mkdir -p tuba-macos/Tuba.app/Contents/Resources/lib mv tuba-macos/share/ tuba-macos/Tuba.app/Contents/Resources/ - mkdir -p tuba-macos/Tuba.app/Contents/Frameworks - otool -L tuba-macos/Tuba.app/Contents/MacOS/dev.geopjr.Tuba | grep '\/opt\/homebrew\/.*\.dylib' -o | xargs -I{} cp "{}" tuba-macos/Tuba.app/Contents/Frameworks - otool -L tuba-macos/Tuba.app/Contents/MacOS/dev.geopjr.Tuba | grep '\/opt\/homebrew\/.*\.dylib' -o | xargs -I{} sh -c 'install_name_tool -change {} ../Frameworks/${1##*/} tuba-macos/Tuba.app/Contents/MacOS/dev.geopjr.Tuba' _ {} + otool -L tuba-macos/Tuba.app/Contents/MacOS/dev.geopjr.Tuba | grep '\/opt\/homebrew\/.*\.dylib' -o | xargs -I{} cp "{}" tuba-macos/Tuba.app/Contents/Resources/lib + otool -L tuba-macos/Tuba.app/Contents/MacOS/dev.geopjr.Tuba | grep '\/opt\/homebrew\/.*\.dylib' -o | xargs -I{} sh -c 'install_name_tool -change {} @rpath/${1##*/} tuba-macos/Tuba.app/Contents/MacOS/dev.geopjr.Tuba' _ {} cp -r $(brew --prefix adwaita-icon-theme)/share/icons/* tuba-macos/Tuba.app/Contents/Resources/share/icons/ cat <tuba-macos/Tuba.app/Contents/Info.plist