diff --git a/build_universal.sh b/build_universal.sh new file mode 100644 index 0000000..892a9df --- /dev/null +++ b/build_universal.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +cd "$(dirname "$0")" || exit + +if [ -d "./althea/usr/lib" ]; then + rm -rf "./AltServer/usr/lib" +fi +if [ -d "./dist" ]; then + rm -rf "./dist" +fi + +pyinstaller althea.spec --clean +cp -R ./resources ./dist/althea +mkdir -p "./althea/usr/lib" + +cp -R ./dist/althea ./althea/usr/lib +chmod -R 0775 althea