Skip to content

docs: add macOS per-profile launcher example#256

Open
mvanhorn wants to merge 1 commit into
CloakHQ:mainfrom
mvanhorn:docs/246-macos-per-profile-launcher
Open

docs: add macOS per-profile launcher example#256
mvanhorn wants to merge 1 commit into
CloakHQ:mainfrom
mvanhorn:docs/246-macos-per-profile-launcher

Conversation

@mvanhorn

Copy link
Copy Markdown

Summary

Adds a runnable per-profile macOS launcher example so users can ship one .app shortcut per CloakBrowser profile (fixed fingerprint seed, persistent profile dir) without reading through #246 to reconstruct the pattern.

Why this matters

In #246, @webparadoxer asked how to create native macOS desktop launchers per profile (e.g. Cloak Profile A.app, Cloak Profile B.app) that open the browser directly with a stable fingerprint, not the Manager web UI. The maintainer's reply walks through a complete launch_persistent_context + Automator pattern. Right now that pattern is only discoverable by finding and reading the issue thread.

This codifies the maintainer's reply as a small example file.

Testing

  • python3 -m py_compile examples/macos_profile_launcher.py passes.
  • grep "examples/macos_profile_launcher.py" README.md returns 1 (link present, no broken markdown).
  • Uses the same launch_persistent_context import path as examples/persistent_context.py, so future API renames pick it up consistently.
  • PROFILE_NAME and PROFILE_SEED constants at the top of the file make per-profile copies a one-edit affair. The header comment block describes the two-step Automator wrap.
  • No code under cloakbrowser/ changes. No new dependencies.

Fixes #246

Closes CloakHQ#246.

Codifies the maintainer reply from CloakHQ#246: a runnable launch_persistent_context
script parameterized by PROFILE_NAME and PROFILE_SEED constants, with a header
comment block describing the two-step Automator "Run Shell Script" wrap. Lets
users build native macOS desktop .app launchers (one per profile) that open
CloakBrowser directly with a fixed fingerprint seed — no Manager web UI.

Adds a single bullet in the Examples section of README.md pointing at the new
file. No changes under cloakbrowser/.
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.

How to open browser with a specific profile on macOS?

1 participant