mirror of
https://github.com/touchHLE/touchHLE.git
synced 2026-01-31 01:25:24 +01:00
Bundle required files (options, dylibs, fonts) for Windows preview builds
Resolves #257. Change-Id: I79e6923ff93028c40c4587f16c258b6254260d56
This commit is contained in:
1
dev-scripts/.gitignore
vendored
1
dev-scripts/.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
/new_release
|
||||
/touchHLE.app
|
||||
/touchHLE_windows_bundle
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# Creates the .app bundle containing the basic set of files needed for touchHLE
|
||||
# to run.
|
||||
|
||||
if [[ $# == 1 ]]; then
|
||||
PATH_TO_BINARY="$1"
|
||||
shift
|
||||
|
||||
21
dev-scripts/make-windows-bundle.sh
Normal file
21
dev-scripts/make-windows-bundle.sh
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# Bundles the touchHLE executable with the basic set of files needed for
|
||||
# touchHLE to run (the same ones found in the macOS .app bundle or Android APK).
|
||||
# This does not prepare a full release.
|
||||
|
||||
if [[ $# == 1 ]]; then
|
||||
PATH_TO_BINARY="$1"
|
||||
shift
|
||||
|
||||
rm -rf touchHLE_windows_bundle
|
||||
mkdir touchHLE_windows_bundle
|
||||
cp $PATH_TO_BINARY touchHLE_windows_bundle/
|
||||
cp -r ../touchHLE_dylibs touchHLE_windows_bundle/
|
||||
cp -r ../touchHLE_fonts touchHLE_windows_bundle/
|
||||
cp -r ../touchHLE_default_options.txt touchHLE_windows_bundle/
|
||||
else
|
||||
echo "Incorrect usage."
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user