mirror of
https://github.com/clangen/musikcube.git
synced 2024-10-02 04:52:32 +00:00
Fixed archive scripts.
This commit is contained in:
parent
44eb698862
commit
8b53bd4fdd
6
.gitignore
vendored
6
.gitignore
vendored
@ -12,10 +12,12 @@
|
|||||||
**/*.deb
|
**/*.deb
|
||||||
**/*.aps
|
**/*.aps
|
||||||
**/.DS_Store
|
**/.DS_Store
|
||||||
|
**/obj32
|
||||||
|
**/obj64
|
||||||
.vs
|
.vs
|
||||||
.vscode
|
.vscode
|
||||||
bin
|
bin32
|
||||||
obj
|
bin64
|
||||||
ipch
|
ipch
|
||||||
build
|
build
|
||||||
CPack*
|
CPack*
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin32/sh
|
#!/bin/sh
|
||||||
|
|
||||||
VERSION=$1
|
VERSION=$1
|
||||||
|
|
||||||
|
@ -1,17 +1,15 @@
|
|||||||
#!/bin64/sh
|
#!/bin/sh
|
||||||
|
|
||||||
VERSION=$1
|
VERSION=$1
|
||||||
|
|
||||||
if [ -z "$VERSION" ]; then
|
if [ -z "$VERSION" ]; then
|
||||||
echo "usage: ./archive-win32.sh <version>"
|
echo "usage: ./archive-win64.sh <version>"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
VANILLA="bin64/dist/musikcube_win32_$VERSION"
|
VANILLA="bin64/dist/musikcube_win64_$VERSION"
|
||||||
MILKDROP="bin64/dist/musikcube_win32_with_milkdrop2_$VERSION"
|
|
||||||
|
|
||||||
rm -rf "$VANILLA"
|
rm -rf "$VANILLA"
|
||||||
rm -rf "$MILKDROP"
|
|
||||||
|
|
||||||
mkdir -p "$VANILLA/plugins"
|
mkdir -p "$VANILLA/plugins"
|
||||||
mkdir -p "$VANILLA/themes"
|
mkdir -p "$VANILLA/themes"
|
||||||
@ -23,24 +21,7 @@ cp bin64/release/plugins/*.dll "$VANILLA/plugins"
|
|||||||
cp bin64/release/themes/*.json "$VANILLA/themes"
|
cp bin64/release/themes/*.json "$VANILLA/themes"
|
||||||
cp bin64/release/locales/*.json "$VANILLA/locales"
|
cp bin64/release/locales/*.json "$VANILLA/locales"
|
||||||
cp bin64/release/fonts/*.ttf "$VANILLA/fonts"
|
cp bin64/release/fonts/*.ttf "$VANILLA/fonts"
|
||||||
rm "$VANILLA/plugins/vis_milk2.dll"
|
|
||||||
pushd $VANILLA
|
pushd $VANILLA
|
||||||
7z a -tzip "musikcube_win32_$VERSION.zip" ./* -mx=9
|
7z a -tzip "musikcube_win64_$VERSION.zip" ./* -mx=9
|
||||||
mv "musikcube_win32_$VERSION.zip" ..
|
mv "musikcube_win64_$VERSION.zip" ..
|
||||||
popd
|
|
||||||
|
|
||||||
mkdir -p "$MILKDROP/plugins"
|
|
||||||
mkdir -p "$MILKDROP/themes"
|
|
||||||
mkdir -p "$MILKDROP/locales"
|
|
||||||
mkdir -p "$MILKDROP/fonts"
|
|
||||||
cp bin64/release/musikcube.exe "$MILKDROP"
|
|
||||||
cp bin64/release/*.dll "$MILKDROP"
|
|
||||||
cp bin64/release/plugins/*.dll "$MILKDROP/plugins"
|
|
||||||
cp bin64/release/themes/*.json "$MILKDROP/themes"
|
|
||||||
cp bin64/release/locales/*.json "$MILKDROP/locales"
|
|
||||||
cp bin64/release/fonts/*.ttf "$MILKDROP/fonts"
|
|
||||||
cp -rfp bin64/release/plugins/Milkdrop2 "$MILKDROP/plugins"
|
|
||||||
pushd $MILKDROP
|
|
||||||
7z a -tzip "musikcube_win32_with_milkdrop2_$VERSION.zip" ./* -mx=9
|
|
||||||
mv "musikcube_win32_with_milkdrop2_$VERSION.zip" ..
|
|
||||||
popd
|
popd
|
||||||
|
Loading…
Reference in New Issue
Block a user