aboutsummaryrefslogtreecommitdiff
path: root/msys-dist.sh
blob: d95a6d3e8136016a9757addd6c5b716d56e64d91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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