mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-27 03:14:30 +00:00
Updated archive-win32 script to also create the release zips.
This commit is contained in:
parent
7a376ee739
commit
83d2acd47a
@ -7,8 +7,8 @@ if [ -z "$VERSION" ]; then
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
VANILLA="bin/dist/musikcube_win32_$VERSION"
|
VANILLA="bin/dist/musikbox_win32_$VERSION"
|
||||||
MILKDROP="bin/dist/musikcube_with_milkdrop2_win32_$VERSION"
|
MILKDROP="bin/dist/musikbox_with_milkdrop2_win32_$VERSION"
|
||||||
|
|
||||||
rm -rf "$VANILLA"
|
rm -rf "$VANILLA"
|
||||||
rm -rf "$MILKDROP"
|
rm -rf "$MILKDROP"
|
||||||
@ -17,8 +17,16 @@ mkdir -p "$VANILLA/plugins"
|
|||||||
cp bin/release/musikbox.exe "$VANILLA"
|
cp bin/release/musikbox.exe "$VANILLA"
|
||||||
cp bin/release/plugins/*.dll "$VANILLA/plugins"
|
cp bin/release/plugins/*.dll "$VANILLA/plugins"
|
||||||
rm "$VANILLA/plugins/vis_milk2.dll"
|
rm "$VANILLA/plugins/vis_milk2.dll"
|
||||||
|
pushd $VANILLA
|
||||||
|
7z a -tzip "musikbox_win32_$VERSION.zip" ./* -mx=9
|
||||||
|
mv "musikbox_win32_$VERSION.zip" ..
|
||||||
|
popd
|
||||||
|
|
||||||
mkdir -p "$MILKDROP/plugins"
|
mkdir -p "$MILKDROP/plugins"
|
||||||
cp bin/release/musikbox.exe "$MILKDROP"
|
cp bin/release/musikbox.exe "$MILKDROP"
|
||||||
cp bin/release/plugins/*.dll "$MILKDROP/plugins"
|
cp bin/release/plugins/*.dll "$MILKDROP/plugins"
|
||||||
cp -rfp bin/release/plugins/Milkdrop2 "$MILKDROP/plugins"
|
cp -rfp bin/release/plugins/Milkdrop2 "$MILKDROP/plugins"
|
||||||
|
pushd $MILKDROP
|
||||||
|
7z a -tzip "musikbox_with_milkdrop2_win32_$VERSION.zip" ./* -mx=9
|
||||||
|
mv "musikbox_with_milkdrop2_win32_$VERSION.zip" ..
|
||||||
|
popd
|
||||||
|
Loading…
Reference in New Issue
Block a user