wesight icon indicating copy to clipboard operation
wesight copied to clipboard

Version update installs/opens Youdao Claw instead of WeSight

Open Wenjunyun123 opened this issue 6 months ago • 5 comments

Problem

When clicking the version update entry inside WeSight, the update flow appears to install/open Youdao Claw instead of updating WeSight.

Expected behavior

Clicking version update should download and install the latest WeSight release.

Actual behavior

The update action results in a Youdao Claw app being installed/opened.

Suggested checks

Please check whether the macOS update URL, release artifact URL, app identifier, or auto-updater metadata points to the wrong product/package.

Wenjunyun123 avatar Jun 01 '26 15:06 Wenjunyun123

Fixed on main in 9a8a641.\n\nThe update checker now only accepts installer assets whose filenames belong to WeSight and skips metadata files such as latest-mac.yml, blockmap, and checksum files. The macOS installer path also validates that the mounted DMG contains WeSight.app with bundle identifier ai.wesight.app before copying or relaunching.\n\nThis should prevent old Youdao Claw/Lobster-era DMG assets from being selected or installed by the in-app update flow. The fix will take effect for users after the next packaged release includes this commit.

freestylefly avatar Jun 02 '26 15:06 freestylefly

Released in v2026.6.2: https://github.com/freestylefly/wesight/releases/tag/v2026.6.2\n\nThis release includes the update asset filtering and macOS bundle validation fix, so the in-app update flow now resolves to the WeSight installer asset from GitHub latest releases.

freestylefly avatar Jun 02 '26 15:06 freestylefly

Closing as fixed in v2026.6.2.

freestylefly avatar Jun 02 '26 15:06 freestylefly

状态更新:已处理并关闭。

已做:更新检测和安装包筛选逻辑已修正,只接受 WeSight bundle / app 名称匹配的资产,避免下载到旧 Youdao Claw / Lobster 时代的安装包。

后续如果再次出现“更新后打开了其他 App”的情况,请补充 Release asset 名称、latest-mac.yml 内容和本机版本号,我会继续跟进。

freestylefly avatar Jun 03 '26 08:06 freestylefly

状态更新:该问题已处理并关闭。

当前更新包筛选和 bundle 校验已经改为只接受 WeSight 安装包,避免把旧 Youdao Claw/Lobster 时代的包作为更新目标。后续 release 会继续保留 bundle id 和应用名校验。

freestylefly avatar Jun 03 '26 08:06 freestylefly