Wargus / stargus

Importer and scripts for Starcraft
GNU General Public License v2.0
126 stars 24 forks source link

[macOS] [meson/ninja] bundle.sh looks for stargus and startools in the wrong place #56

Closed shinra-electric closed 1 year ago

shinra-electric commented 1 year ago

I opened an issue rather than making a PR because as far as I understand you can build with either meson/ninja or cmake/make, and fixing one might break the other.

I built stargus with Meson and Ninja, and it placed the resulting compiled binaries in /build/src. However, the bundle.sh script will look for stargus and startools in build and it will fail to find them.

I fixed the issue by adding /src to lines 49 and 50 of bundle.sh:

cp ../build/src/startool Stargus.app/Contents/MacOS/
cp ../build/src/stargus Stargus.app/Contents/MacOS/