From 329de724aaa222b57c1d4379db0c414e83425a35 Mon Sep 17 00:00:00 2001 From: Enderbyte09 <83879635+Enderbyte09@users.noreply.github.com> Date: Fri, 14 Jan 2022 16:51:42 -0800 Subject: [PATCH] 2.24.4 -Fixed bug where opening file in notpad did not show filename -Fixed bug where pressing X on notpad window would not trigger terminat() -Fixed bug where the program could load a corrupt appdata file -Basic Utilities will now delete old appdata after porting it -Added a new insult :) -No non-arg prints before appdata load (more on that in the 2.25 betas) --- bu.iss | 4 ++-- clean.bat | 4 ++++ compile.bat | 5 ++++- vf.txt | 8 ++++---- 4 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 clean.bat diff --git a/bu.iss b/bu.iss index a982120..b6871b7 100644 --- a/bu.iss +++ b/bu.iss @@ -2,7 +2,7 @@ ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! #define MyAppName "Basic Utilities" -#define MyAppVersion "2.24.3" +#define MyAppVersion "2.24.4" #define MyAppPublisher "Enderbyte Programs" #define MyAppURL "https://enderbyte09.wixiste.com/programs" #define MyAppExeName "BasicUtilities.exe" @@ -29,7 +29,7 @@ LicenseFile=C:\Python310\Scripts\license.txt ; Remove the following line to run in administrative install mode (install for all users.) PrivilegesRequired=lowest OutputDir=C:\Users\jorda\Installer -OutputBaseFilename=basicutilities_2.24.3_installer +OutputBaseFilename=basicutilities_2.24.4_installer SetupIconFile=C:\Python310\Scripts\bu.ico Compression=lzma SolidCompression=yes diff --git a/clean.bat b/clean.bat new file mode 100644 index 0000000..434a899 --- /dev/null +++ b/clean.bat @@ -0,0 +1,4 @@ +del /s /f /q .\BasicUtilities\* +rmdir /s /q .\BasicUtilities\ +mkdir BasicUtilities +move BasicUtilities.py .\BasicUtilities\BasicUtilities.py diff --git a/compile.bat b/compile.bat index aeead8e..17e3feb 100644 --- a/compile.bat +++ b/compile.bat @@ -1,3 +1,6 @@ +move .\BasicUtilities\BasicUtilities.py BasicUtilities.py +del /s /f /q .\BasicUtilities\* +rmdir .\BasicUtilities\.temp .\pyinstaller --icon=bu.ico --version-file=vf.txt --noconfirm BasicUtilities.py .\pyinstaller --icon=bu.ico --version-file=vf.txt --onefile BasicUtilities.py -PAUSE +xcopy /s /e .\dist\BasicUtilities .\BasicUtilities diff --git a/vf.txt b/vf.txt index f6d9f16..1906311 100644 --- a/vf.txt +++ b/vf.txt @@ -7,8 +7,8 @@ VSVersionInfo( ffi=FixedFileInfo( # filevers and prodvers should be always a tuple with four items: (1, 2, 3, 4) # Set not needed items to zero 0. Must always contain 4 elements. - filevers=(2,24,2,0), - prodvers=(2,24,2,0), + filevers=(2,24,4,0), + prodvers=(2,24,4,0), # Contains a bitmask that specifies the valid bits 'flags'r mask=0x3f, # Contains a bitmask that specifies the Boolean attributes of the file. @@ -32,12 +32,12 @@ VSVersionInfo( u'040904B0', [StringStruct(u'CompanyName', u'Enderbyte Programs'), StringStruct(u'FileDescription', u'Basic Utilities'), - StringStruct(u'FileVersion', u'2.24.2.0'), + StringStruct(u'FileVersion', u'2.24.4.0'), StringStruct(u'InternalName', u'BasicUtilities'), StringStruct(u'LegalCopyright', u'© 2021-2022 Enderbyte Programs. Some rights reserved'), StringStruct(u'OriginalFilename', u'BasicUtilities.exe'), StringStruct(u'ProductName', u'Basic Utilities'), - StringStruct(u'ProductVersion', u'2.24.2.0')]) + StringStruct(u'ProductVersion', u'2.24.4.0')]) ]), VarFileInfo([VarStruct(u'Translation', [1033, 1200])]) ]