LocalDevVPN auto-connect: run the App Store build's "Start LocalDevVPN" App Shortcut#66
Merged
Conversation
The App Store LocalDevVPN build (a StosVPN fork) exposes start/stop as App Intents, not a localdevvpn:// URL scheme, so the old deep link did nothing and the refresh spinner hung waiting for a callback that never came. Run its auto-registered "Start LocalDevVPN" App Shortcut through Shortcuts instead, with x-success/x-error both pointed back at sidestore:// so MiniStore always returns and applicationDidBecomeActive can resume the pending refresh (missing shortcut / cancel comes back through x-error rather than hanging). - AppConfiguration: replace localDevVPNBase/localDevVPNConnect with startLocalDevVPNShortcut (the x-callback run-shortcut URL). - checkMinimuxer: open the shortcut URL; drop the localdevvpn:// canOpenURL gate (the App Store build registers no scheme to detect). - RefreshingAppsView: the App Shortcut can't be pre-detected, so remove the "LocalDevVPN Not Found" toggle warning and update the footer to describe the shortcut-based flow. https://claude.ai/code/session_01PT8zpkUrgTRaGeKmbvVyNe
Contributor
|
Download the artifacts for this pull request (nightly.link): |
Contributor
|
Builds for this Pull Request are available at |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The App Store LocalDevVPN build (seomin0610, a StosVPN fork) exposes start/stop as App Intents, not a
localdevvpn://URL scheme. MiniStore's auto-connect deep-linkedlocaldevvpn://enable, which that build ignores — so the tunnel never started, nothing came back, and the refresh spinner hung ("loads infinitely").Drive it through its auto-registered "Start LocalDevVPN" App Shortcut instead, invoked via a Shortcuts
x-callback-url/run-shortcutURL whosex-successandx-errorboth return tosidestore://, so MiniStore always comes back and resumes the pending refresh.Type of change
Changes
AppConfiguration: replacedlocalDevVPNBase/localDevVPNConnectwithstartLocalDevVPNShortcut(the x-callback run-shortcut URL).MyAppsViewModel.checkMinimuxer: open the shortcut URL to start the tunnel; dropped thelocaldevvpn://canOpenURLgate (the App Store build registers no scheme to detect). The existing background-task + return + bounded retry path is unchanged, so a missing shortcut / cancel returns viax-errorand never hangs.RefreshingAppsView: removed the un-detectable "LocalDevVPN Not Found" toggle warning; footer now describes the shortcut-based flow.Testing
CI is the compile check. On device with the App Store LocalDevVPN installed: enable Auto-Connect, trigger a refresh with the tunnel down → MiniStore runs the "Start LocalDevVPN" shortcut, the tunnel comes up, control returns to MiniStore, and the refresh continues. (If iOS exposes the App Shortcut under a different run-shortcut name, the
name=Start%20LocalDevVPNstring is the one spot to adjust.)Checklist
develop(nevermain)CLAUDE.md🤖 Generated with Claude Code
Generated by Claude Code