From ee0fc8226762e834536962e28635cd5c24bd5e56 Mon Sep 17 00:00:00 2001 From: winewill <324803222+winewill@users.noreply.github.com> Date: Mon, 21 Sep 2026 14:45:35 +0800 Subject: [PATCH] fix(desktop): check the bundled runtime against the product version Injecting a build version renamed the Electron shell but not the dsh runtime packed into it, and afterPack required the two to be equal, so every build carrying a build version failed after packaging finished. The bundled runtime is the dsh package at the product version, which is what the check now compares against; the app already reports the shell version and the bundled runtime version separately to the update policy. Rename the flag to --build-version. The repository already has DOWNLOAD_TEST_RELEASE_ID for the opaque test feed directory, so calling a version a release id invited a reader to confuse the two. Accept a forwarded `--` as well, because `pnpm run