Skip to content
agentusehub

Reverse engineer Claude Desktop to find a path to Linux support

A maintainer pointed Claude at the minified Claude Desktop app to find why Cowork only runs on macOS; it found the VM and sandbox layers and mapped a route to Linux.

Time saved
Not reported
Setup time
Not reported
Running cost
Not reported
Cost range
Not reported

Use case overview

A maintainer pointed Claude at the minified Claude Desktop app to find why Cowork only runs on macOS; it found the VM and sandbox layers and mapped a route to Linux.

Reported experience

  1. What they did

    The maintainer of a Linux repackaging script for Claude Desktop extracted the app's minified JavaScript from the Windows installer and ran it through prettier. Claude then went through roughly 170,000 lines, renamed the obfuscated symbols, and documented the architecture. A contributor found x64 VM image URLs, and the maintainer downloaded and inspected that image.

  2. How it went

    It found a macOS-only Swift addon driving a Linux VM, with bubblewrap and seccomp inside it. It laid out three Linux routes: stub the addon, add bubblewrap, or run Firecracker. Nothing was implemented.

  3. Worth knowing

    Minified symbol names change with each release, so re-trace the patterns instead of searching for the names in this write-up (analysis covers version 1.1.799).

Example prompts

Try with Claude Code
Reverse engineer [the app or binary] by inspecting its minified or compiled code to understand how a specific feature works or why it's limited to a certain platform, then write up what you find including any architectural layers involved. Produce a clear technical summary and a proposed path forward, stopping short of modifying or redistributing the original software.
Coding · Advanced
  1. Write migration plan
  2. Agent edits in batches
  3. Tests per batch

Ship a 40-file refactor with a coding agent

Plan, execute and review a cross-cutting refactor in small batches, with Claude Code making the edits and GitHub Copilot reviewing each PR.

Claude Code · GitHub Copilot
Coding · Advanced
  1. Run coverage
  2. Pick 3 riskiest files
  3. Write + run tests

Generate missing unit tests for untested modules

Claude Code reads your coverage report, picks the riskiest untested modules and writes unit tests that pass, one small PR at a time.

Claude Code · GitHub Copilot · Slack