Skip to content

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 31 Oct 08:39
· 3 commits to main since this release

Adds the international edition, which is the only way to get a
desktop client that authenticates outside mainland China.

Added

  • ZIP input. The international channel publishes .zip, not .dmg.
    resolve_input_path, resolve_app_bundle and preflight.sh now accept
    either, with a PK magic check so a truncated download fails immediately
    instead of inside unzip.
  • Electron mirror fallback. github.com is unreachable on some networks,
    which aborted the runtime download outright. The downloader now tries the
    official release URL and then npmmirror's copy of the same artifacts.
  • CHANGELOG.md, release automation, and a self-contained bootstrap installer.

Changed

  • 7-Zip is now only required for DMG input. ZIP input goes through unzip,
    so a machine without 7-Zip can complete a full build. Previously check_deps
    rejected such a setup before it ever looked at the input type.
  • Linux patches degrade instead of aborting. The env shim and the cosmetic
    tray/window patches used to be all-or-nothing: one missing anchor killed the
    build. The shim (the patch that actually makes a window appear) stays
    mandatory; the tray menu, tray icon and window-frame patches now emit a loud
    warning and are skipped when the payload is newer than the anchor set.
  • The launcher picks the Ozone platform from WAYLAND_DISPLAY / DISPLAY
    instead of --ozone-platform-hint=auto.

Fixed

  • pick_app_bundle could select an AppleDouble shell. ZIP archives carry a
    __MACOSX/ tree whose entries can be named *.app; that shell has no
    Contents/Info.plist and conversion failed much later with a poor message.
    It is now pruned, bundles without a manifest are rejected, and the shallowest
    bundle wins so Electron's own Contents/Frameworks/* Helper.app entries can
    never be mistaken for the application.
  • Every build failed with APP_DIR: unbound variable. An unescaped
    $APP_DIR inside the generated-launcher heredoc was expanded by set -u
    while writing start.sh, aborting after the expensive steps had already run.
  • Missing X server or $DISPLAY on Wayland-only sessions.
    --ozone-platform-hint=auto resolves to X11 whenever DISPLAY happens to be
    set, and then aborts on a session that has no X server (typical over SSH).

Verified

  • Converted WorkBuddy-darwin-x64-5.9.4.42593613 (504,460,931 bytes) on Ubuntu
    26.04 x86_64: Electron 37.10.3, bundle id com.workbuddy.workbuddy-ai,
    174 MB app.asar. The result fetches https://www.workbuddy.ai/v3/config
    (200) and emits an international login URL, confirming it is the
    international client rather than a China build repointed at a new host.

Installation

curl -fsSLO https://github.com/mhzsajan/workbuddy-linux/releases/download/v1.2.0/install-workbuddy.sh
chmod +x install-workbuddy.sh
./install-workbuddy.sh /path/to/WorkBuddy.dmg   # or .zip

These assets contain the build toolchain only. The converted
application is produced locally from an official WorkBuddy macOS
archive that you obtain from Tencent yourself, because its payload
is Tencent's proprietary app.asar and is not redistributed here.