mirror of
https://github.com/vyvir/althea.git
synced 2026-06-05 14:59:30 -05:00
build.sh for RPM builds
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user