musikcube/archive-win32.sh
casey langen 0ed9c9b4d6 Added HttpDataStream, a new plugin that can provide an IDataStream from
an HTTP/HTTPS connection.

- Added libcurl and libressl as project dependencies.
- Added HttpDataStream (which uses libcurl and libressl). Includes an
  LruDiskCache so responses can be cached to disk for offline playback.
- Added new IEnvironment SDK interface. Plugins can query the
  environment for path information, data streams, or decoders. More
  functionality will be added over time.
- Fixed FlacDataDecoderFactory to handle the correct mime type
  (audio/flac, not audio/flag)
- Tweaked NomadDecoder.cpp to return the stream length immediately instead
  of waiting for an fseek().
2017-04-18 00:31:50 -07:00

49 lines
1.4 KiB
Bash

#!/bin/sh
VERSION=$1
if [ -z "$VERSION" ]; then
echo "usage: ./archive-win32.sh <version>"
exit
fi
VANILLA="bin/dist/musikbox_win32_$VERSION"
MILKDROP="bin/dist/musikbox_win32_with_milkdrop2_$VERSION"
rm -rf "$VANILLA"
rm -rf "$MILKDROP"
mkdir -p "$VANILLA/plugins"
mkdir -p "$VANILLA/themes"
mkdir -p "$VANILLA/locales"
cp bin/release/musikbox.exe "$VANILLA"
cp bin/release/libcurl.dll "$VANILLA"
cp bin/release/crypto-41.dll "$VANILLA"
cp bin/release/ssl-43.dll "$VANILLA"
cp bin/release/tls-15.dll "$VANILLA"
cp bin/release/plugins/*.dll "$VANILLA/plugins"
cp bin/release/themes/*.json "$VANILLA/themes"
cp bin/release/locales/*.json "$VANILLA/locales"
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/themes"
mkdir -p "$MILKDROP/locales"
cp bin/release/musikbox.exe "$MILKDROP"
cp bin/release/libcurl.dll "$VANILLA"
cp bin/release/crypto-41.dll "$VANILLA"
cp bin/release/ssl-43.dll "$VANILLA"
cp bin/release/tls-15.dll "$VANILLA"
cp bin/release/plugins/*.dll "$MILKDROP/plugins"
cp bin/release/themes/*.json "$MILKDROP/themes"
cp bin/release/locales/*.json "$MILKDROP/locales"
cp -rfp bin/release/plugins/Milkdrop2 "$MILKDROP/plugins"
pushd $MILKDROP
7z a -tzip "musikbox_win32_with_milkdrop2_$VERSION.zip" ./* -mx=9
mv "musikbox_win32_with_milkdrop2_$VERSION.zip" ..
popd