melonDS/msys-dist.sh

16 lines
277 B
Bash
Raw Normal View History

#!/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
2020-06-02 00:04:58 +00:00
cp melonDS.exe dist
windeployqt dist