aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2026-01-16 10:28:30 +0800
committerGitHub <noreply@github.com>2026-01-16 10:28:30 +0800
commitfa11a9152fdf519bb5f222d94e2ce937babb17fb (patch)
treea909285979e8093b931705c3009fafdbe098cae4
parent8157aa6550d3926924fe75b1f98f505c426094bf (diff)
parent1c00c5051104887ac181a3c1ec87b63c35e7f9bc (diff)
downloadDropOut-fa11a9152fdf519bb5f222d94e2ce937babb17fb.tar.gz
DropOut-fa11a9152fdf519bb5f222d94e2ce937babb17fb.zip
Merge pull request #44 from HsiangNianian/fix/security/alert-autofix-3
-rw-r--r--src-tauri/src/main.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs
index 3671166..b59ae31 100644
--- a/src-tauri/src/main.rs
+++ b/src-tauri/src/main.rs
@@ -83,13 +83,9 @@ async fn start_game(
.clone()
.ok_or("No active account found. Please login first.")?;
- let account_type = match &account {
- core::auth::Account::Offline(_) => "Offline",
- core::auth::Account::Microsoft(_) => "Microsoft",
- };
emit_log!(
window,
- format!("Account found: {} ({})", account.username(), account_type)
+ format!("Account found: {}", account.username())
);
let config = config_state.config.lock().unwrap().clone();