Fix reviews

This commit is contained in:
biast12 authored and DevilXD committed 2024-12-31 21:05:35 +01:00
1 parent f8fa68b5b6
commit 792d589f2b
4 files changed
+39 -14

No files matched your search

+12 -5
View File
@@ -11,26 +11,33 @@ if [ ! -d "$dirpath/env" ]; then
exit 1
fi
# Check if pyinstaller is installed in the virtual environment
# Check if PyInstaller is installed in the virtual environment
if [ ! -f "$dirpath/env/bin/pyinstaller" ]; then
echo
echo "Installing pyinstaller..."
echo "Installing PyInstaller..."
"$dirpath/env/bin/pip" install pyinstaller
if [ $? -ne 0 ]; then
echo "Failed to install pyinstaller."
echo
echo "Failed to install PyInstaller."
echo
read -p "Press any key to continue..."
exit 1
fi
fi
# Run pyinstaller with the specified build spec file
# Run PyInstaller with the specified build spec file
echo
echo "Running pyinstaller..."
echo "Running PyInstaller..."
"$dirpath/env/bin/pyinstaller" "$dirpath/build.spec"
if [ $? -ne 0 ]; then
echo
echo "PyInstaller build failed."
echo
read -p "Press any key to continue..."
exit 1
fi
echo
echo "Build completed successfully."
echo
read -p "Press any key to continue..."