Skip to content

GoldenPassport 0.2.1

Choose a tag to compare

@thatscode thatscode released this 19 Nov 18:22

Download GoldenPassport-0.2.1.zip, unzip it and run install.sh as described in INSTALL.md (中文:安装说明.md). Signed with a Developer ID and notarized by Apple. Requires macOS 13 or later; runs natively on Apple Silicon and on Intel.

What's improved

  • The menu bar icon is whole again. In 0.2.0 it showed only a tiny figure: macOS didn't draw the mask that shaped the key around it. The full key is back, about as large as the other menu bar icons.
  • Only one copy runs at a time. Opening a second copy, for example the one still in the download folder while the installed one runs, now says that GoldenPassport is already running and quits. Two copies used to show two menu bar icons, compete for the hotkeys and the HTTP port, and could save over each other's changes to your accounts.
  • The installer quits every running copy. install.sh and rollback.sh also quit GoldenPassport when it runs from another folder, so that only the installed copy runs afterwards.
  • New bundle ID: com.thatscode.GoldenPassport (0.1.x and 0.2.0 used site.stanzhai.GoldenPassport), so menu bar managers such as Bartender show this fork's name. Your accounts, settings and data folder stay where they are, and the language you picked in the menu is carried over.

Upgrading from 0.2.0

With the new bundle ID, macOS treats 0.2.1 as a new app:

  1. During the install, macOS asks once whether GoldenPassport may use your keychain. Choose Always Allow and enter your login password. If you choose Deny, the installer puts 0.2.0 back; nothing is lost.
  2. Grant Accessibility again if you want hotkeys to type the code: System Settings → Privacy & Security → Accessibility. Remove the old GoldenPassport entry with "−" first.
  3. If you used Launch at Login, turn it on again in the menu. If System Settings → General → Login Items still lists an old GoldenPassport entry, remove it.

Upgrading from 0.1.x works as before. Everything new since 0.1.7 is in the 0.2.0 release notes and the changelog.

Caution

The installer backs up your current app and data to ~/GoldenPassport-backups/, unencrypted. Delete it with cleanup.sh once you no longer need to roll back, and never share it.


简体中文

下载 GoldenPassport-0.2.1.zip,解压后按 安装说明.md 运行 install.sh。使用 Developer ID 签名并经过 Apple 公证,需要 macOS 13 或更高版本,原生支持 Apple 芯片,也支持 Intel。

改进

  • 菜单栏图标恢复完整。 0.2.0 的菜单栏图标只显示一个很小的人像:外面那把钥匙是用蒙版画出来的,macOS 不绘制这种蒙版。现在钥匙完整显示,大小和其他菜单栏图标相当。
  • 同一时间只运行一份。 再打开一份 GoldenPassport 时(例如已安装的那份正在运行,又打开了下载文件夹里的那份),会提示 GoldenPassport 已经在运行,然后退出。以前两份会同时运行:菜单栏上出现两个图标,抢占快捷键和 HTTP 端口,还可能互相覆盖对账号的修改。
  • 安装脚本会退出所有正在运行的副本。 install.sh 和 rollback.sh 也会退出从其他文件夹运行的 GoldenPassport,确保之后只运行安装好的那一份。
  • 新的 Bundle ID:com.thatscode.GoldenPassport(0.1.x 和 0.2.0 用的是 site.stanzhai.GoldenPassport),Bartender 等菜单栏管理工具会显示本 fork 的标识。账号、设置和数据目录都不变,在菜单里选过的语言也会沿用。

从 0.2.0 升级

换了 Bundle ID 之后,macOS 会把 0.2.1 当成一个新的 App:

  1. 安装过程中,系统会询问一次是否允许 GoldenPassport 使用钥匙串。请选「始终允许」并输入登录密码。如果点了「拒绝」,安装脚本会自动恢复到 0.2.0,什么都不会丢。
  2. 如果希望快捷键自动填入验证码,需要重新授权辅助功能:系统设置 → 隐私与安全性 → 辅助功能。先用「−」删掉旧的 GoldenPassport。
  3. 如果开启过开机自动启动,请在菜单里重新打开。如果 系统设置 → 通用 → 登录项 里还留着旧的 GoldenPassport,把它删掉。

从 0.1.x 升级的方式不变。0.1.7 以来的全部变化见 0.2.0 的 Release 说明和更新日志。

[!CAUTION]
安装脚本会把当前的 App 和数据备份到 ~/GoldenPassport-backups/,备份没有加密。确认不再需要回退后,请用 cleanup.sh 删除,也不要把它发给任何人。