Skip to content

Fix desktop dev runner entrypoint detection#131

Merged
BunsDev merged 1 commit intomainfrom
okcode/fix-desktop-build
Apr 1, 2026
Merged

Fix desktop dev runner entrypoint detection#131
BunsDev merged 1 commit intomainfrom
okcode/fix-desktop-build

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Apr 1, 2026

Summary

  • Fixes scripts/dev-runner.ts so the dev runner can detect its entrypoint in desktop build contexts.
  • Adds a fallback check using fileURLToPath(import.meta.url) === process.argv[1] when import.meta.main is unavailable.

Testing

  • Not run (not requested).

- Fall back to comparing `import.meta.url` with `process.argv[1]`
- Preserve running the dev runner when `import.meta.main` is unavailable
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 1, 2026 2:07am

@github-actions github-actions Bot added size:XS vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Apr 1, 2026
@BunsDev BunsDev merged commit 24d94ed into main Apr 1, 2026
8 of 9 checks passed
@BunsDev BunsDev deleted the okcode/fix-desktop-build branch April 1, 2026 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant