mirror of
https://github.com/clangen/musikcube.git
synced 2025-03-29 01:20:14 +00:00
Added a very simple shell script used to archive builds for distribution.
This commit is contained in:
parent
928a74e4d5
commit
35335632e8
24
archive-win32.sh
Normal file
24
archive-win32.sh
Normal file
@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
|
||||
VERSION=$1
|
||||
|
||||
if [ -z "$VERSION" ]; then
|
||||
echo "usage: ./archive-win32.sh <version>"
|
||||
exit
|
||||
fi
|
||||
|
||||
VANILLA="bin/dist/musikcube_win32_$VERSION"
|
||||
MILKDROP="bin/dist/musikcube_with_milkdrop2_win32_$VERSION"
|
||||
|
||||
rm -rf "$VANILLA"
|
||||
rm -rf "$MILKDROP"
|
||||
|
||||
mkdir -p "$VANILLA/plugins"
|
||||
cp bin/release/musikbox.exe "$VANILLA"
|
||||
cp bin/release/plugins/*.dll "$VANILLA/plugins"
|
||||
rm "$VANILLA/plugins/vis_milk2.dll"
|
||||
|
||||
mkdir -p "$MILKDROP/plugins"
|
||||
cp bin/release/musikbox.exe "$MILKDROP"
|
||||
cp bin/release/plugins/*.dll "$MILKDROP/plugins"
|
||||
cp -rfp bin/release/plugins/Milkdrop2 "$MILKDROP/plugins"
|
Loading…
x
Reference in New Issue
Block a user