mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 05:17:40 -07:00
796ef95862
* Improve macOS bundling * Bundle libs for macOS CI * Add MACOS_BUILD_DMG CMake option and make the CI upload the DMG so we don't lose executable permissions. * Manually copy plugins if macdeployqt doesn't * Ad-hoc codesign the app
16 lines
277 B
Bash
Executable File
16 lines
277 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [[ ! -x melonDS.exe ]]; then
|
|
echo "Run this script from the directory you built melonDS."
|
|
exit 1
|
|
fi
|
|
|
|
mkdir -p dist
|
|
|
|
for lib in $(ldd melonDS.exe | grep mingw | sed "s/.*=> //" | sed "s/(.*)//"); do
|
|
cp "${lib}" dist
|
|
done
|
|
|
|
cp melonDS.exe dist
|
|
windeployqt dist
|