launcher: Friends over the internet: Tailscale status, invitations and a safe access rule

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-19 14:16:53 +02:00
parent 4768d3f65b
commit a8a00aac94
6 changed files with 1519 additions and 10 deletions
+4
View File
@@ -4,6 +4,7 @@
mod cli;
mod collection;
mod game_tools;
mod internet;
mod markdown;
mod mcp;
mod modpacks_page;
@@ -133,6 +134,8 @@ struct Launcher {
crash: Option<Crash>,
/// The Servers page (`servers_page.rs`).
servers: servers_page::Servers,
/// Its Friends over the internet panel (`internet.rs`).
internet: internet::Internet,
/// The window's own focus, so Tab reaches the controls when nothing else has the keyboard.
root_focus: FocusHandle,
/// Microsoft accounts (accounts.json), the sign-in under way and what it last showed.
@@ -256,6 +259,7 @@ impl Launcher {
client_home: None,
crash: None,
servers: servers_page::Servers::new(),
internet: internet::Internet::new(),
root_focus: cx.focus_handle(),
accounts: Accounts::load(),
sign_in: None,