nuke-haus / mapnuke

An open-source map generator for Dominions 5 and 6
http://map.nuke.haus
GNU General Public License v3.0
25 stars 14 forks source link

feat(macos build fixes): #9

Closed stvnksslr closed 3 years ago

stvnksslr commented 4 years ago

Issue: macos builds are busted because the Layouts and Nations folders are not packaged within the .app folder during build.

Solution: forked build step for specifically macos to enable these assets to be packaged the way they are expected to be by the application.

Caveats: I could not find an easy way to fetch the build folder name, this has lead to it being hard coded in the fix, if there is a way to do this easily would be happy to add it but didnt see it anywhere in the docs which seems weird.

stvnksslr commented 3 years ago

this is hacky at best and going to find

stvnksslr commented 3 years ago

Hacky solution should fix resources paths instead of kludging the copy method. Will keep debugging