mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-15 13:57:44 -07:00
15 lines
272 B
Bash
15 lines
272 B
Bash
|
#!/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 romlist.bin dist
|