Skip to content

docs(desktop): clarify --compress usage with an entrypoint - #3555

Open
abdul-karim-mia wants to merge 1 commit into
denoland:mainfrom
abdul-karim-mia:fix/desktop-compress-flag-docs
Open

abdul-karim-mia wants to merge 1 commit into
denoland:mainfrom
abdul-karim-mia:fix/desktop-compress-flag-docs

Conversation

@abdul-karim-mia

Copy link
Copy Markdown

Fixes #3506.

deno desktop --compress main.ts fails CLI argument parsing (invalid value 'main.ts' for '--compress': possible values: xz, lzma, zstd) because --compress accepts an optional value without require_equals.

This updates the runtime/desktop/distribution.md snippet to show deno desktop --compress (bare, defaulting to .) alongside deno desktop --compress=xz main.ts / --compress=zstd main.ts, and adds a short note explaining why --compress=<codec> (or --compress -- main.ts) is needed when passing an entrypoint.

Signed-off-by: Abdul karim mia <akmia51@gmail.com>
@abdul-karim-mia
abdul-karim-mia force-pushed the fix/desktop-compress-flag-docs branch from 13787c3 to f4e310e Compare November 28, 2026 12:38

This branch has not been deployed

No deployments
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.

Feedback: /runtime/desktop/distribution/ - Needs Improvement

1 participant