-
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.
Merge pull request #19 from WhenLifeHandsYouLemons/v1.5.1
Created v1.5.1 & bug fixes
- Loading branch information
Showing
5 changed files
with
44 additions
and
27 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
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,26 +1,31 @@ | ||
from os import system | ||
import PyInstaller.__main__ | ||
|
||
version = "1.5.1" | ||
|
||
# Creates an executable file | ||
PyInstaller.__main__.run([ | ||
'installer_windows.py', | ||
'--onefile', | ||
'--clean', | ||
'--log-level', | ||
'CRITICAL', | ||
'INFO', | ||
'--icon', | ||
'installer_icon.ico', | ||
'--add-data', | ||
'app_icon.ico;.', | ||
'--add-data', | ||
'Encryptext.pyw;.' | ||
'Encryptext.pyw;.', | ||
"--collect-all", | ||
"tkinterweb" | ||
]) | ||
|
||
# Moves the exe out of the dist folder | ||
system("move dist\\installer_windows.exe encryptext_installer_v0.0.0_64bit.exe") | ||
system(f"move dist\\installer_windows.exe encryptext_installer_v{version}_64bit.exe") | ||
|
||
# Removes the "build" folder | ||
system("rmdir /s /q build") | ||
# Removes the "installer.spec" file | ||
# Removes the "installer_windows.spec" file | ||
system("del installer_windows.spec") | ||
# Removes the "dist" folder | ||
system("rmdir /s /q dist") |
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
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 |
---|---|---|
|
@@ -4,3 +4,5 @@ webbrowser | |
cryptography | ||
tkinterweb | ||
markdown | ||
PyInstaller | ||
threading |