Skip to content

Fix aegisub portable exe missing from "Open with" menu(s) on windows - #751

Merged
arch1t3cht merged 2 commits into
TypesettingTools:masterfrom
geeyufs:GU/fix-portable-exe
Nov 16, 2026
Merged

arch1t3cht merged 2 commits into
TypesettingTools:masterfrom
geeyufs:GU/fix-portable-exe

Conversation

@geeyufs

@geeyufs geeyufs commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

The Windows executable already contains its application name, description, and version information, but doesn't declare the language and code page used by those strings. This can prevent Windows from displaying the metadata correctly, including showing the entire application in context menus.
Values (US EN, unicode) grabbed from https://learn.microsoft.com/en-us/windows/win32/menurc/varfileinfo-block

The Windows executable already contains its application name, description, and version information, but doesn't declare the language and code page used by those strings.
This can prevent Windows from displaying the metadata correctly, including showing the entire application in context menus.
@arch1t3cht

Copy link
Copy Markdown
Member

This is very nitpicky, but I'd prefer the VarFileInfo block being added above the StringFileInfo block rather than below it, since that makes it clearer why the former is necessary (with VarFileInfo being a list of available languages and StringFileInfo then containing strings in that language; see the code example in https://learn.microsoft.com/en-us/windows/win32/api/winver/nf-winver-verqueryvaluew ).

@arch1t3cht
arch1t3cht merged commit 5b5cc4b into TypesettingTools:master Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants