Compare commits

...

7 Commits

Author SHA1 Message Date
github-actions[bot]
2ae2172a60 Update Claude Desktop download URLs to version 1.9659.2
Updated download URLs resolved from official redirect endpoints.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
2026-05-29 01:44:58 +00:00
github-actions[bot]
5dd948e96d Update Claude Desktop download URLs to version 1.9255.2
Updated download URLs resolved from official redirect endpoints.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
2026-05-28 01:42:51 +00:00
aaddrick
5513f1b867 docs(changelog): promote [Unreleased] to [v2.0.16] — 2026-05-27
Co-Authored-By: Claude <claude@anthropic.com>
2026-05-27 16:37:07 -04:00
Aaddrick
7dc26eae9b Merge pull request #660 from aaddrick/claude/issue-659-EI5EH
fix(patches): capture $-prefixed minified names in cowork spawn guard
2026-05-27 16:22:39 -04:00
Claude
2ed019405f fix(patches): capture $-prefixed minified names in cowork spawn guard
The funcNameRe regex used \w+ which excludes $, so $-prefixed minified
function names like $Be silently failed to match. This left
retryFuncName null, falling back to the bare identifier
_globalLastSpawn — which throws ReferenceError on first read before
any assignment.

Two fixes:
- Widen regex character class to [$\w]+ so $-prefixed names match
- Change fallback from bare _globalLastSpawn to globalThis._lastSpawn,
  a safe property access that returns undefined instead of throwing

Fixes #659

Co-Authored-By: Claude <claude@anthropic.com>
2026-05-27 15:22:17 +00:00
aaddrick
5b2fb4141b docs(changelog): add tray fix to v2.0.15
Co-Authored-By: Claude <claude@anthropic.com>
2026-05-27 02:04:35 -04:00
Aaddrick
988a866310 fix(patches): anchor tray variable extraction on .Tray() literal (#657)
fix(patches): anchor tray variable extraction on .Tray() literal
2026-05-27 02:04:09 -04:00
4 changed files with 20 additions and 11 deletions

View File

@@ -8,6 +8,14 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) —
<!-- Updated automatically by check-claude-version; will be current at release time. -->
## [v2.0.16] — 2026-05-27
Tracks upstream Claude Desktop 1.9255.0.
### Fixed
- Cowork spawn guard now captures `$`-prefixed minified function names (e.g. `$Be`) and uses `globalThis._lastSpawn` instead of a bare `_globalLastSpawn` identifier, fixing `ReferenceError: _globalLastSpawn is not defined` that broke Cowork on all platforms with upstream 1.9255.0. ([#660](https://github.com/aaddrick/claude-desktop-debian/pull/660), fixes [#658](https://github.com/aaddrick/claude-desktop-debian/issues/658), [#659](https://github.com/aaddrick/claude-desktop-debian/issues/659), [#661](https://github.com/aaddrick/claude-desktop-debian/issues/661))
## [v2.0.15] — 2026-05-27
Tracks upstream Claude Desktop 1.9255.0.
@@ -15,6 +23,7 @@ Tracks upstream Claude Desktop 1.9255.0.
### Fixed
- `StartupWMClass` aligned to `Claude` to match what Electron actually advertises via `productName`. The v2.0.14 value `claude-desktop` was silently ignored by Electron, causing orphan windows and duplicate gear icons on GNOME/KDE. Value centralized from 6 hardcoded locations to one source of truth in `build.sh`, with build-time substitution and a `productName` assertion guard. ([#655](https://github.com/aaddrick/claude-desktop-debian/pull/655), fixes [#652](https://github.com/aaddrick/claude-desktop-debian/issues/652))
- Tray variable extraction re-anchored on `.Tray()` literal instead of minifier-dependent syntax that upstream 1.9255.0 reshuffled. ([#657](https://github.com/aaddrick/claude-desktop-debian/pull/657), fixes [#656](https://github.com/aaddrick/claude-desktop-debian/issues/656))
## [v2.0.14] — 2026-05-25

View File

@@ -16,16 +16,16 @@
}:
let
pname = "claude-desktop";
version = "1.9255.0";
version = "1.9659.2";
srcs = {
x86_64-linux = fetchurl {
url = "https://downloads.claude.ai/releases/win32/x64/1.9255.0/Claude-a22af1fabbbc85af5502e695ed8fbea9f74276fc.exe";
hash = "sha256-QiRhl0sR08hwn5MDlhMss9AdJ+kX8yrGxLmgd7y3cEs=";
url = "https://downloads.claude.ai/releases/win32/x64/1.9659.2/Claude-390d6ca38de808ca81aeccd2945d9c8be800f47d.exe";
hash = "sha256-iEsHfxfLD32hbtF/s/AvcMR+zTkOYwn2rOQXt5e9eDk=";
};
aarch64-linux = fetchurl {
url = "https://downloads.claude.ai/releases/win32/arm64/1.9255.0/Claude-a22af1fabbbc85af5502e695ed8fbea9f74276fc.exe";
hash = "sha256-HyCBdS793TGw9b7a43ZZs5w44zbRH4BBoaNpnqhhvbw=";
url = "https://downloads.claude.ai/releases/win32/arm64/1.9659.2/Claude-390d6ca38de808ca81aeccd2945d9c8be800f47d.exe";
hash = "sha256-vhlCz0Rb60iVsJ1lygXl0T+xNUfO6EDxIF9m05Elyoc=";
};
};

View File

@@ -424,7 +424,7 @@ if (serviceErrorIdx !== -1) {
const funcSearchStart = Math.max(0, newServiceErrorIdx - 2000);
const funcRegion = code.substring(funcSearchStart, newServiceErrorIdx);
// The function is defined as: async function NAME(t,e){...for(let r=0;r<=LIMIT;r++)
const funcNameRe = /async function (\w+)\s*\(\s*\w+\s*,\s*\w+\s*\)\s*\{[\s\S]*?for\s*\(\s*let/g;
const funcNameRe = /async function ([$\w]+)\s*\(\s*[$\w]+\s*,\s*[$\w]+\s*\)\s*\{[\s\S]*?for\s*\(\s*let/g;
let funcMatch;
let retryFuncName = null;
while ((funcMatch = funcNameRe.exec(funcRegion)) !== null) {
@@ -432,7 +432,7 @@ if (serviceErrorIdx !== -1) {
}
const spawnGuard = retryFuncName
? retryFuncName + '._lastSpawn'
: '_globalLastSpawn';
: 'globalThis._lastSpawn';
// Cooldown in ms — long enough to avoid fork storms, short enough
// that the retry loop can re-spawn after a mid-session daemon death.
const autoLaunch =

View File

@@ -24,15 +24,15 @@ detect_architecture() {
case "$raw_arch" in
x86_64)
claude_download_url='https://downloads.claude.ai/releases/win32/x64/1.9255.0/Claude-a22af1fabbbc85af5502e695ed8fbea9f74276fc.exe'
claude_exe_sha256='422461974b11d3c8709f930396132cb3d01d27e917f32ac6c4b9a077bcb7704b'
claude_download_url='https://downloads.claude.ai/releases/win32/x64/1.9659.2/Claude-390d6ca38de808ca81aeccd2945d9c8be800f47d.exe'
claude_exe_sha256='884b077f17cb0f7da16ed17fb3f02f70c47ecd390e6309f6ace417b797bd7839'
architecture='amd64'
claude_exe_filename='Claude-Setup-x64.exe'
echo 'Configured for amd64 (x86_64) build.'
;;
aarch64)
claude_download_url='https://downloads.claude.ai/releases/win32/arm64/1.9255.0/Claude-a22af1fabbbc85af5502e695ed8fbea9f74276fc.exe'
claude_exe_sha256='1f2081752efddd31b0f5bedae37659b39c38e336d11f8041a1a3699ea861bdbc'
claude_download_url='https://downloads.claude.ai/releases/win32/arm64/1.9659.2/Claude-390d6ca38de808ca81aeccd2945d9c8be800f47d.exe'
claude_exe_sha256='be1942cf445beb4895b09d65ca05e5d13fb13547cee840f1205f66d39125ca87'
architecture='arm64'
claude_exe_filename='Claude-Setup-arm64.exe'
echo 'Configured for arm64 (aarch64) build.'