Skip to content

feat: support an isolated secondary app instance - #736

Merged
capy-ai[bot] merged 1 commit into
devfrom
capy/support-an-isolated-secondary
Aug 10, 2026
Merged

feat: support an isolated secondary app instance#736
capy-ai[bot] merged 1 commit into
devfrom
capy/support-an-isolated-secondary

Conversation

@zortos293

Copy link
Copy Markdown
Collaborator

Description

Requested by Discord user <@506877681321902090> (Dekel).

OpenNOW still behaves as a single-instance app by default. Launching OpenNOW.exe --secondary now starts one additional, independently locked profile with its own authentication state, settings, Chromium session data, cache, stable GFN device ID, and native-streamer runtime state. Repeating either the normal launch or the secondary launch focuses that profile's existing window instead of opening another copy.

The secondary profile is configured before Electron acquires its profile-scoped singleton lock. It scans OAuth callback ports from the opposite end of the existing pool, uses port 9223 for opt-in development remote debugging, and disables app updates so two processes cannot compete over the installed application. Its window title is OpenNOW — Secondary so the two profiles remain easy to distinguish. Shared screenshots and recordings retain their collision-resistant names under Pictures\OpenNOW.

The Windows launch command, profile behavior, and GeForce NOW/account limitations are documented in the README.

Visual proof

Primary OpenNOW and OpenNOW — Secondary running concurrently

The available desktop runner is Linux, so this screenshot exercises the same Electron profile-lock and startup path in the built app rather than a packaged Windows executable. It shows the primary profile on the left and the separately titled secondary profile on the right. Process inspection also confirmed distinct --user-data-dir values, and relaunching each profile left the window count at two.

Verification

  • npm --prefix opennow-stable test — 463 passed
  • npm --prefix opennow-stable run typecheck
  • npm --prefix opennow-stable run lint — 0 warnings/errors
  • npm --prefix opennow-stable run build
  • Manual built-app launch: primary plus --secondary rendered concurrently with separate profile directories
  • Manual singleton regression: relaunching primary and secondary kept exactly two windows

@cursor

cursor Bot commented Aug 10, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 389800ec-0970-43cb-aa81-f0486582432b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@capy-ai
capy-ai Bot merged commit e91673c into dev Aug 10, 2026
17 checks 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