Skip to content

Commit

Permalink
fixed issues in build script for Pi
Browse files Browse the repository at this point in the history
  • Loading branch information
mnadev committed Aug 21, 2021
1 parent 907f88d commit 95f51ae
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions build_pi.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
#!/usr/bin/env bash
echo "Building App"
pyinstaller -y --clean --windowed muezzin.spec > /dev/null
echo "Packaging"
pushd dist > /dev/null
tar czf ../../muezzin.tar muezzin/ > /dev/null
popd > /dev/null
cd ..
echo "Extracting"
mkdir muezzin_app
mv muezzin.tar muezzin_app
cd muezzin_app
tar -xvf muezzin.tar > /dev/null
echo "Package succesfully built"
echo "Building App";
pyinstaller -y --clean --windowed muezzin.spec > /dev/null;
echo "Packaging";
cd dist > /dev/null;
touch ../../muezzin.tar;
chmod 644 ../../muezzin.tar;
tar czf ../../muezzin.tar muezzin/ > /dev/null;
cd .. > /dev/null;
cd ..;
echo "Extracting";
mkdir muezzin_app;
mv muezzin.tar muezzin_app;
cd muezzin_app;
tar -xvf muezzin.tar > /dev/null;
echo "Package succesfully built";


0 comments on commit 95f51ae

Please sign in to comment.