Skip to content

fix(desktop): correct the updater capability URL pattern#59

Merged
ApocDev merged 1 commit into
mainfrom
fix/updater-remote-url-pattern
Jul 1, 2026
Merged

fix(desktop): correct the updater capability URL pattern#59
ApocDev merged 1 commit into
mainfrom
fix/updater-remote-url-pattern

Conversation

@ApocDev

@ApocDev ApocDev commented Jul 1, 2026

Copy link
Copy Markdown
Owner

The previous remote.urls grant used http://localhost:34115 / http://localhost:34115/*, which does not match the webview URL — so __TAURI_INTERNALS__ never initialized, isTauri() was false, and updater_check was never invoked (silently). Nothing showed.

Fix: use the documented pattern http://localhost:*/** (port wildcard + recursive path).

Verified locally in a tauri dev run — the Rust log now shows updater_check: querying for updatesup to date, i.e. the IPC command fires. (Also flushed out two confounders during debugging: an old single-instance window blocking new launches, and a stale .output bundle.)

The remote.urls pattern (http://localhost:34115 and /*) didn't match the webview's
actual URL, so the IPC bridge (__TAURI_INTERNALS__) never initialized — isTauri()
stayed false and the updater silently never invoked. Use the documented
http://localhost:*/** (port wildcard + recursive path), which matches. Verified in a
debug run: updater_check now fires ("querying" → "up to date").
@ApocDev
ApocDev merged commit 1680dc1 into main Jul 1, 2026
1 check passed
@ApocDev
ApocDev deleted the fix/updater-remote-url-pattern branch July 1, 2026 02:46
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