-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
2 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |