Skip to content

LocalDevVPN auto-connect: run the App Store build's "Start LocalDevVPN" App Shortcut#66

Merged
The-Big-Mini merged 1 commit into
developfrom
ClaudeCode
Jul 8, 2026
Merged

LocalDevVPN auto-connect: run the App Store build's "Start LocalDevVPN" App Shortcut#66
The-Big-Mini merged 1 commit into
developfrom
ClaudeCode

Conversation

@The-Big-Mini

Copy link
Copy Markdown
Owner

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-linked localdevvpn://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-shortcut URL whose x-success and x-error both return to sidestore://, so MiniStore always comes back and resumes the pending refresh.

Type of change

  • Bug fix — resolves incorrect behavior without changing existing APIs

Changes

  • AppConfiguration: replaced localDevVPNBase / localDevVPNConnect with startLocalDevVPNShortcut (the x-callback run-shortcut URL).
  • MyAppsViewModel.checkMinimuxer: open the shortcut URL to start the tunnel; dropped the localdevvpn:// canOpenURL gate (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 via x-error and 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%20LocalDevVPN string is the one spot to adjust.)

Checklist

  • This branch targets develop (never main)
  • I read the full file(s) before editing and followed the conventions in CLAUDE.md
  • The project builds and existing behavior is preserved
  • UI changes were checked on a device or simulator
  • No secrets, signing identities, or personal data are included in this change

🤖 Generated with Claude Code


Generated by Claude Code

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
github-actions Bot added a commit that referenced this pull request Jul 8, 2026
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Download the artifacts for this pull request (nightly.link):

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Builds for this Pull Request are available at
MiniStore-0.6.5-pr.66.ab7c041-dSYMs
MiniStore-0.6.5-pr.66.ab7c041
build-logs-0.6.5-pr.66.ab7c041
Have a nice day.

@The-Big-Mini The-Big-Mini merged commit dd31330 into develop Jul 8, 2026
1 check 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.

1 participant