mirror of
https://github.com/aaddrick/claude-desktop-debian.git
synced 2026-05-17 08:36:35 +03:00
* fix: disable VM file downloads on Linux to prevent checksum loop (#334) Patch 4 in patch_cowork_linux() previously copied win32 VM file entries (rootfs.vhdx, vmlinuz, initrd) with Linux-specific checksums. These checksums drifted from CDN content, causing an infinite download retry loop for all Linux users — including bwrap users who don't need VM files at all. The root cause: Patch 1 opens the yukonSilver feature gate for Linux, making the VM download path reachable even on bwrap-only installs. The triage bot missed this because it analyzed unpatched code. Fix: inject empty file arrays (linux:{x64:[],arm64:[]}) instead of copying win32 entries. This is safe because: - The VM backend is non-functional on Linux (bwrap is the only backend) - Empty arrays make the download loop a no-op (for...of [] skips) - [].every() returns true (vacuous truth), reporting "Ready" status - The linux key must exist to prevent TypeError on files["linux"]["x64"] Removes ~230 lines of checksum infrastructure from build.sh and CI that maintained checksums for a non-functional feature. Fixes #334 Closes #329 Closes #332 Co-Authored-By: Claude <claude@anthropic.com> * style: clean up stray blank line and use durable issue reference Co-Authored-By: Claude <claude@anthropic.com> --------- Co-authored-by: Claude <claude@anthropic.com>