-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changed compilerscripts for Wind and Linux
- Loading branch information
Showing
2 changed files
with
5 additions
and
3 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 +1,3 @@ | ||
pyinstaller --noconfirm --onefile --windowed --icon "./textures/Player_1.ico" --add-data "./convpictolvl.py;." --add-data "./draw.py;." --add-data "./level.py;." --add-data "./player.py;." --add-data "./textures;textures/" --add-data "./Levels;Levels/" --add-data "./Levelpictures;Levelpictures/" --add-data "./backgroundmusic;backgroundmusic/" "./main.py" | ||
@echo off | ||
pyinstaller --noconfirm --onefile --distpath "./windows" --windowed --icon "./textures/Player_1.ico" --add-data "./convpictolvl.py;." --add-data "./versioncontrol.py;." --add-data "./draw.py;." --add-data "./level.py;." --add-data "./player.py;." --add-data "./textures;textures/" --add-data "./Levels;Levels/" --add-data "./Levelpictures;Levelpictures/" --add-data "./backgroundmusic;backgroundmusic/" "./main.py" | ||
echo "File can be found in ./windows" |
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,6 +1,6 @@ | ||
#!/usr/bin/env bash | ||
pyver=$(python3 --version) | ||
echo "Now Compiling Game with pyinstaller on Python Version $pyver" | ||
pyinstaller --noconfirm --onefile --windowed --icon "./textures/Player_1.ico" --add-data "./convpictolvl.py;." --add-data "./draw.py;." --add-data "./level.py;." --add-data "./player.py;." --add-data "./textures;textures/" --add-data "./Levels;Levels/" --add-data "./Levelpictures;Levelpictures/" --add-data "./backgroundmusic;backgroundmusic/" "./main.py" | ||
pyinstaller --noconfirm --distpath "./linux" --onefile --windowed --icon "./textures/Player_1.ico" --add-data "./convpictolvl.py:." --add-data "./versioncontrol.py:." --add-data "./draw.py:." --add-data "./level.py:." --add-data "./player.py:." --add-data "./textures:textures/" --add-data "./Levels:Levels/" --add-data "./Levelpictures:Levelpictures/" --add-data "./backgroundmusic:backgroundmusic/" "./main.py" | ||
echo "compilation complete" | ||
echo "The Executable should now be in ./dist" | ||
echo "The Executable should now be in ./linux" |