Repository navigation
Releases
localvps v0.2.0
Mac App:新增 localvps-macos.dmg,M 系列和 Intel 通用,已签名并经苹果公证。拖进「应用程序」打开后常驻菜单栏,点图标打开控制台,菜单里可勾「开机自动启动」。原来的命令行用法不变。
邀请码固定地址:控制台「设置 → 网络 → 隧道」新增「邀请码」。填入邀请链接后,地址固定为 名字.你的域名,重启不变;发邀请的一方能在管理页看到这台电脑在不在线、权限、令牌。邀请服务是一个 Cloudflare Worker,代码和部署说明在 server/。
一行安装脚本会把 ~/.local/bin 加进 PATH。
Mac app: new localvps-macos.dmg, universal (Apple silicon + Intel), signed and notarized. It lives in the menu bar, opens the dashboard from its icon, and can launch at login. The CLI works as before.
Invite codes for a stable address: Settings → Network → Tunnel now has an "Invite code" option. Paste an invite link and the machine gets a fixed name.your-domain address that survives restarts; the inviter's admin page shows whether it is online, its permission level and its token. The invite service is a Cloudflare Worker in server/.
The one-line installer now adds ~/.local/bin to PATH.
localvps v0.1.14
下载断线后从断开的位置续传,最多再试 3 次(之前 Windows 上更新下到 54% 断线就失败了)。
Interrupted downloads now resume (HTTP Range), with up to 3 retries.
localvps v0.1.13
Windows 更新重启用的临时脚本跑完自动删除。
The Windows restart script removes itself when done.
localvps v0.1.12
Windows 一键更新后的自动重启改由 WMI 创建启动器:Bun 会把程序和它起的所有子进程放在同一个作业对象里,旧版本一退出启动器就被一起结束了。
Windows: the post-update restart launcher is now created via WMI so it survives the old process exiting.
localvps v0.1.11
更新试运行失败时的提示改得更准确。
Clearer message when the update preflight fails.
localvps v0.1.10
Windows 上一键更新的临时文件改名为 localvps.new.exe(不以 .exe 结尾时无法试运行,更新会被误拒)。
Windows: stage updates as localvps.new.exe so the pre-swap check can run them.
localvps v0.1.9
设置 → 版本里显示正在运行的是哪个文件,方便分清下载文件夹里的旧副本。
Settings → 版本 now shows which binary is running.
localvps v0.1.8
Windows 上一键更新后能正常重启了:交给独立的启动器等旧进程完全退出再起新版本(之前新版本继承了旧进程的端口,等 30 秒后放弃);更新重启后不再多开一个浏览器标签页。
Windows: self-update now restarts cleanly via a detached launcher; no extra browser tab after an update restart.
localvps v0.1.7
一键更新更稳:
- 启动时端口还被占着会等最多 30 秒(之前 Windows 上更新后新版本撞上端口占用直接退出)
- 替换前先试运行新版本,跑不起来(比如被杀毒软件拦了)就不替换
- 新版本 20 秒内异常退出会自动换回旧版本
- 本机和局域网地址不走代理
Safer self-update: wait for ports on startup, preflight the new binary, roll back if it exits early.
localvps v0.1.6
error.log 带 UTF-8 BOM,Windows 自带的 PowerShell 5.1 读出来不再乱码。
error.log now starts with a UTF-8 BOM so Windows PowerShell 5.1 reads it correctly.