feat: burrow:// links sign the account page in

The account page's "Sign in with the Burrow client" opens
burrow://account?n=<nonce>. The copy already running takes the link (a
copy started with one gives way at once); it uses the account being
played, or the one remembered for its server (a choice when there are
several), gets a ticket from the server and opens it in the browser.
Installed copies register the protocol when they start; the Windows
installer, the Linux packages and the macOS app declare it too.
This commit is contained in:
Burrowdev committed 2026-10-23 07:04:45 +03:00
1 parent b1dd733a9d
commit b52c9194f5
6 files changed
+154 -11

No files matched your search

+4
View File
@@ -30,6 +30,10 @@ module.exports = {
desktopName: "burrow.desktop",
},
// burrow:// links, from the account page's "Sign in with the Burrow
// client" (the .desktop file's MimeType; app/main.js asks for them too)
protocols: [{name: "Burrow", schemes: ["burrow"]}],
linux: {
target: [{target: "AppImage", arch: ["x64"]}, {target: "deb", arch: ["x64"]}, {target: "rpm", arch: ["x64"]}],
icon: path.join(root, "app", "icon.png"),