Skip to content

fix: windows auto update fails as node 24 cannot load \\?\ prefixed script paths - #3087

Merged
abose merged 1 commit into
mainfrom
yy
Aug 10, 2026
Merged

fix: windows auto update fails as node 24 cannot load \\?\ prefixed script paths#3087
abose merged 1 commit into
mainfrom
yy

Conversation

@abose

@abose abose commented Aug 10, 2026

Copy link
Copy Markdown
Member

Tauri's resolveResource() returns \?\ long-path prefixed paths on windows, and the Node 24 based phnode sidecar crashes at startup when given such an entry script path (EISDIR on lstat 'C:'). This made the updater report a download error before the download even began.

node-loader.js already strips the prefix for the main node boot; apply the same strip to the two missed updater call sites (installer download and quit-time windows installer launch).

…cript paths

Tauri's resolveResource() returns \\?\ long-path prefixed paths on
windows, and the Node 24 based phnode sidecar crashes at startup when
given such an entry script path (EISDIR on lstat 'C:'). This made the
updater report a download error before the download even began.

node-loader.js already strips the prefix for the main node boot; apply
the same strip to the two missed updater call sites (installer download
and quit-time windows installer launch).
@abose
abose merged commit db8ef6a into main Aug 10, 2026
3 of 18 checks passed
@abose
abose deleted the yy branch August 10, 2026 17:37
@sonarqubecloud

Copy link
Copy Markdown

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.

1 participant