Skip to content

Add explicit executable and loader_url for JSDOS/Ruffle - #19

Merged
calvinstudebaker merged 1 commit into
mainfrom
feat/jsdos-ruffle-explicit-params
Mar 9, 2026
Merged

Add explicit executable and loader_url for JSDOS/Ruffle#19
calvinstudebaker merged 1 commit into
mainfrom
feat/jsdos-ruffle-explicit-params

Conversation

@cloud9c

@cloud9c cloud9c commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • JSDOS and Ruffle TOML sections now require executable (e.g. game.jsdos, game.swf) and accept optional loader_url (custom loader script) instead of the previous entrypoint field
  • CLI validates both files exist in upload_dir before uploading
  • Sends entrypointParams (with executable + loaderUrl) directly to the backend, so the backend no longer needs to auto-discover .jsdos/.swf files during post-upload processing

Test plan

  • Push a JSDOS build with executable and loader_url set in TOML
  • Push a Ruffle build with executable set (no loader_url)
  • Verify build fails if executable file doesn't exist in upload_dir
  • Verify existing Godot/Unity/Custom flows are unaffected

🤖 Generated with Claude Code

JSDOS and Ruffle sections now require explicit `executable` and optional
`loader_url` instead of `entrypoint`. The CLI validates these files exist
in upload_dir and passes them as entrypointParams to the backend.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@calvinstudebaker

Copy link
Copy Markdown
Member

Haven't tested but looks good to me

@calvinstudebaker
calvinstudebaker merged commit 931f93c into main Mar 9, 2026
8 checks passed
@calvinstudebaker
calvinstudebaker deleted the feat/jsdos-ruffle-explicit-params branch March 9, 2026 23:50
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.

2 participants