mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-21 05:11:42 +03:00
22 lines
373 B
Bash
Executable File
22 lines
373 B
Bash
Executable File
#!/bin/bash
|
|
# Call from project root directory: ./release/mac.sh
|
|
|
|
set -e
|
|
|
|
version=$1;
|
|
if [ "$version" == "" ]; then
|
|
echo Gimme version number
|
|
exit 1
|
|
fi
|
|
|
|
OUT="abstreet_mac_$version"
|
|
|
|
dtrx abstreet_linux_$version.zip
|
|
mv abstreet_linux_$version $OUT
|
|
rm -fv $OUT/game/game
|
|
cp /media/dabreegster/PATRIOTUSB/game $OUT/game
|
|
chmod +x $OUT/game/game
|
|
|
|
zip -r $OUT $OUT
|
|
rm -rf $OUT
|