Skip to content

Commit

Permalink
Revert the compile scripts back
Browse files Browse the repository at this point in the history
  • Loading branch information
mas6y6 committed Dec 3, 2024
1 parent 1a96b25 commit 88cb509
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 23 deletions.
11 changes: 1 addition & 10 deletions compile.bat
Original file line number Diff line number Diff line change
@@ -1,10 +1 @@
@echo off
REM Set output directory
set OUTPUT_DIR=dist\windows

REM Create the directory if it doesn't exist
if not exist %OUTPUT_DIR% mkdir %OUTPUT_DIR%

REM Run PyInstaller

pyinstaller main.py --distpath %OUTPUT_DIR% --hidden-import=yaml --hidden-import=yaml --exclude-module=pygame --exclude-module=PyQt5 --exclude-module=PySide6 --onefile --icon="./icon.ico" --name="cipheros_test"
pyinstaller main.py --hidden-import=yaml --hidden-import=yaml --exclude-module=pygame --exclude-module=PyQt5 --exclude-module=PySide6 --onefile --icon="./icon.ico" --name="cipheros"
14 changes: 1 addition & 13 deletions compile.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1 @@
#!/bin/bash
# Set output directory
OUTPUT_DIR="dist/linux"
if [[ "$(uname)" == "Darwin" ]]; then
OUTPUT_DIR="dist/macos"
fi

# Create the directory if it doesn't exist
mkdir -p "$OUTPUT_DIR"

# Run PyInstaller

pyinstaller main.py --distpath %OUTPUT_DIR% --hidden-import=yaml --hidden-import=yaml --exclude-module=pygame --exclude-module=PyQt5 --exclude-module=PySide6 --exclude-module=cipher --onefile --icon="./icon.ico" --name="cipheros_build"
pyinstaller main.py --hidden-import=yaml --hidden-import=yaml --exclude-module=pygame --exclude-module=PyQt5 --exclude-module=PySide6 --onefile --icon="./icon.ico" --name="cipheros"

0 comments on commit 88cb509

Please sign in to comment.