summarylogtreecommitdiffstats
path: root/opencode-desktop.sh
AgeCommit message (Collapse)Author
2026-06-16upgpkg: opencode-desktop 1.17.7-5Byeonghoon Yoo
Fix electron version mismatch and KDE Wayland icon matching. opencode-desktop.sh hardcoded /usr/bin/electron41 although the package depends on electron42 and native modules are linked against electron42 ABI at build time. Switch the wrapper to electron42 so the runtime ABI matches. Drop set-desktop-name.patch. Upstream packages/desktop/package.json has no desktopName key, and electron-builder injects "<appId>.desktop" (currently "ai.opencode.desktop.desktop") into the unpacked app at package time anyway, which overrode whatever the patch would have written. Pin desktopName to $pkgname via a package()-time sed on the installed package.json instead. ozone-wayland reads that key and sets the running window's Wayland app_id to "opencode-desktop", so KDE matches the window to /usr/share/applications/$pkgname.desktop (StartupWMClass=$pkgname) and shows the right icon. Verified on KDE Plasma Wayland: kwin scripting reports resourceClass=opencode-desktop for the running window.
2026-05-05Rename to opencode-desktop and update to 1.14.39Byeonghoon Yoo
Upstream renamed packages/desktop-electron → packages/desktop in v1.14.39, dropping the parallel Tauri variant. The AUR package follows suit; users on opencode-desktop-electron migrate automatically via the replaces= field.