forked from tzlion/frogtool
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Automated drive detection * OS Updating * Loading Windows
- Loading branch information
1 parent
e4c0c9f
commit 8d2e0b7
Showing
4 changed files
with
126 additions
and
63 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,22 +1,25 @@ | ||
@echo off | ||
set ver=0.2.6 | ||
rem build script for the distributable versions of tadpole | ||
if not exist "venv\" ( | ||
py -m venv venv | ||
) | ||
if not exist "venv\Lib\site-packages\PyInstaller" ( | ||
venv\Scripts\python -m pip install pyinstaller | ||
) | ||
if not exist "venv\Lib\site-packages\PIL" ( | ||
venv\Scripts\python -m pip install Pillow | ||
) | ||
pyinstaller.exe tadpole.py --onefile -F --icon frog.ico --clean --noconsole --version-file versioninfo --add-data="frog.ico;." | ||
copy README.md "dist\readme.md" | ||
copy LICENSE "dist\license.txt" | ||
copy tadpole.py "dist\tadpole.py" | ||
copy frogtool.py "dist\frogtool.py" | ||
copy tadpole_functions.py "dist\tadpole_functions.py" | ||
cd dist | ||
tar -a -cf tadpole-%ver%-win.zip tadpole.exe "readme.md" license.txt | ||
tar -a -cf tadpole-%ver%-py.zip tadpole.py frogtool.py tadpole_functions.py "readme.md" license.txt | ||
cd ../ | ||
@echo off | ||
set ver=0.3.0 | ||
rem build script for the distributable versions of tadpole | ||
if not exist "venv\" ( | ||
py -m venv venv | ||
) | ||
if not exist "venv\Lib\site-packages\PyInstaller" ( | ||
venv\Scripts\python -m pip install pyinstaller | ||
) | ||
if not exist "venv\Lib\site-packages\PIL" ( | ||
venv\Scripts\python -m pip install Pillow | ||
) | ||
if not exist "venv\Lib\site-packages\PyQt5" ( | ||
venv\Scripts\python -m pip install PyQt5 | ||
) | ||
pyinstaller.exe tadpole.py --onefile -F --icon frog.ico --clean --noconsole --version-file versioninfo --add-data="frog.ico;." | ||
copy README.md "dist\readme.md" | ||
copy LICENSE "dist\license.txt" | ||
copy tadpole.py "dist\tadpole.py" | ||
copy frogtool.py "dist\frogtool.py" | ||
copy tadpole_functions.py "dist\tadpole_functions.py" | ||
cd dist | ||
tar -a -cf tadpole-%ver%-win.zip tadpole.exe "readme.md" license.txt | ||
tar -a -cf tadpole-%ver%-py.zip tadpole.py frogtool.py tadpole_functions.py "readme.md" license.txt | ||
cd ../ |
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
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,27 +1,27 @@ | ||
VSVersionInfo( | ||
ffi=FixedFileInfo( | ||
filevers=(0, 2, 6, 0), | ||
prodvers=(0, 2, 6, 0), | ||
mask=0x3f, | ||
flags=0x0, | ||
OS=0x4, | ||
fileType=0x1, | ||
subtype=0x0, | ||
date=(0, 0) | ||
), | ||
kids=[ | ||
StringFileInfo( | ||
[StringTable( | ||
u'080904B0', | ||
[StringStruct(u'CompanyName', u'EricGoldstein'), | ||
StringStruct(u'FileDescription', u'tadpole'), | ||
StringStruct(u'FileVersion', u'0.2.6'), | ||
StringStruct(u'InternalName', u'tadpole'), | ||
StringStruct(u'LegalCopyright', u'by EricGoldstein 2023'), | ||
StringStruct(u'OriginalFilename', u'tadpole.exe'), | ||
StringStruct(u'ProductName', u'tadpole'), | ||
StringStruct(u'ProductVersion', u'0.2.6')]) | ||
]), | ||
VarFileInfo([VarStruct(u'Translation', [2057, 1200])]) | ||
] | ||
) | ||
VSVersionInfo( | ||
ffi=FixedFileInfo( | ||
filevers=(0, 3, 0, 0), | ||
prodvers=(0, 3, 0, 0), | ||
mask=0x3f, | ||
flags=0x0, | ||
OS=0x4, | ||
fileType=0x1, | ||
subtype=0x0, | ||
date=(0, 0) | ||
), | ||
kids=[ | ||
StringFileInfo( | ||
[StringTable( | ||
u'080904B0', | ||
[StringStruct(u'CompanyName', u'EricGoldstein'), | ||
StringStruct(u'FileDescription', u'tadpole'), | ||
StringStruct(u'FileVersion', u'0.3.0'), | ||
StringStruct(u'InternalName', u'tadpole'), | ||
StringStruct(u'LegalCopyright', u'by EricGoldstein 2023'), | ||
StringStruct(u'OriginalFilename', u'tadpole.exe'), | ||
StringStruct(u'ProductName', u'tadpole'), | ||
StringStruct(u'ProductVersion', u'0.3.0')]) | ||
]), | ||
VarFileInfo([VarStruct(u'Translation', [2057, 1200])]) | ||
] | ||
) |