Skip to content

feat(windows): embed long-path-aware manifest in CLI binary (#587)#610

Merged
javi11 merged 1 commit into
javi11:mainfrom
iPromKnight:feat/windows-long-path-aware
May 24, 2026
Merged

feat(windows): embed long-path-aware manifest in CLI binary (#587)#610
javi11 merged 1 commit into
javi11:mainfrom
iPromKnight:feat/windows-long-path-aware

Conversation

@iPromKnight
Copy link
Copy Markdown
Contributor

Adds a Windows application manifest with longPathAware=true (plus UTF-8 activeCodePage) and ships pre-generated .syso resources so the Go linker embeds the manifest automatically for GOOS=windows builds. The .syso files are GOOS/GOARCH-suffixed, so they are only linked into Windows binaries — linux and darwin builds are unaffected.

Users must still enable the system-wide LongPathsEnabled registry key (or matching Group Policy) for Windows to honor the opt-in; README has a new section covering that.

Also tightens an over-broad gitignore rule that was shadowing new files under cmd/altmount/.

Adds a Windows application manifest with longPathAware=true (plus UTF-8
activeCodePage) and ships pre-generated .syso resources so the Go linker
embeds the manifest automatically for GOOS=windows builds. The .syso
files are GOOS/GOARCH-suffixed, so they are only linked into Windows
binaries — linux and darwin builds are unaffected.

Users must still enable the system-wide LongPathsEnabled registry key
(or matching Group Policy) for Windows to honor the opt-in; README has
a new section covering that.

Also tightens an over-broad gitignore rule that was shadowing new files
under cmd/altmount/.
@javi11 javi11 merged commit cc74f48 into javi11:main May 24, 2026
2 checks passed
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