Skip to content

Commit

Permalink
Merge pull request #506 from Johann-PLW/main
Browse files Browse the repository at this point in the history
Add file_version_info.txt files for Windows binaries
  • Loading branch information
Johann-PLW authored Jul 13, 2024
2 parents 719bff3 + 3eaa228 commit 5793b9e
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 3 deletions.
28 changes: 28 additions & 0 deletions aleapp-file_version_info.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
VSVersionInfo(
ffi=FixedFileInfo(
filevers=(3, 2, 3, 0),
prodvers=(3, 2, 3, 0),
mask=0x3f,
flags=0x0,
OS=0x40004,
fileType=0x1,
subtype=0x0,
date=(0, 0)
),
kids=[
StringFileInfo(
[
StringTable(
'040904b0',
[StringStruct('CompanyName', 'Alexis Brignoni'),
StringStruct('FileDescription', 'ALEAPP CLI'),
StringStruct('FileVersion', '3.2.3'),
StringStruct('InternalName', 'ALEAPP'),
StringStruct('LegalCopyright', 'Result of a collaborative effort in the DFIR community.'),
StringStruct('OriginalFilename', 'aleapp.exe'),
StringStruct('ProductName', 'ALEAPP'),
StringStruct('ProductVersion', '3.2.3')])
]),
VarFileInfo([VarStruct('Translation', [1033, 1200])])
]
)
1 change: 1 addition & 0 deletions aleapp.spec
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ exe = EXE(pyz,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
version='aleapp-file_version_info.txt',
console=True )
28 changes: 28 additions & 0 deletions aleappGUI-file_version_info.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
VSVersionInfo(
ffi=FixedFileInfo(
filevers=(3, 2, 3, 0),
prodvers=(3, 2, 3, 0),
mask=0x3f,
flags=0x0,
OS=0x40004,
fileType=0x1,
subtype=0x0,
date=(0, 0)
),
kids=[
StringFileInfo(
[
StringTable(
'040904b0',
[StringStruct('CompanyName', 'Alexis Brignoni'),
StringStruct('FileDescription', 'ALEAPP GUI'),
StringStruct('FileVersion', '3.2.3'),
StringStruct('InternalName', 'ALEAPP'),
StringStruct('LegalCopyright', 'Result of a collaborative effort in the DFIR community.'),
StringStruct('OriginalFilename', 'AleappGUI.exe'),
StringStruct('ProductName', 'ALEAPP'),
StringStruct('ProductVersion', '3.2.3')])
]),
VarFileInfo([VarStruct('Translation', [1033, 1200])])
]
)
1 change: 1 addition & 0 deletions aleappGUI.spec
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ exe = EXE(pyz,
hide_console='hide-early',
disable_windowed_traceback=False,
upx_exclude=[],
version='aleappGUI-file_version_info.txt',
runtime_tmpdir=None )
4 changes: 2 additions & 2 deletions scripts/ilapfuncs.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def does_column_exist_in_db(db, table_name, col_name):
if row['name'].lower() == col_name:
return True
except sqlite3.Error as ex:
print(f"Query error, query={query} Error={str(ex)}")
logfunc(f"Query error, query={query} Error={str(ex)}")
pass
return False

Expand All @@ -166,7 +166,7 @@ def does_table_exist(db, table_name):
cursor = db.execute(query)
for row in cursor:
return True
except sqlite3Error as ex:
except sqlite3.Error as ex:
logfunc(f"Query error, query={query} Error={str(ex)}")
return False

Expand Down
2 changes: 1 addition & 1 deletion scripts/version_info.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
aleapp_version = '3.2.2'
aleapp_version = '3.2.3'

# Contributors List
# Format = [ Name, Blog-url, Twitter-handle, Github-url]
Expand Down

0 comments on commit 5793b9e

Please sign in to comment.