From 2c14773644eb7613062c593ce81ece129607fa7b Mon Sep 17 00:00:00 2001 From: vyvir <135277623+vyvir@users.noreply.github.com> Date: Wed, 20 Nov 2024 21:54:57 +0200 Subject: [PATCH] build.sh for RPM builds --- build_universal.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 build_universal.sh 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