chore(i18n): finish translating code comments and scripts to English
CI / Format and clippy (push) Successful in 1m13s
CI / Dependency audit (push) Successful in 13s
CI / Tests (Linux) (push) Successful in 1m35s
Release / Create release (push) Successful in 7s
CI / Check desktop app (Linux) (push) Successful in 3m19s
Release / CLI (linux-aarch64) (push) Successful in 1m3s
Release / CLI (linux-x86_64) (push) Successful in 1m28s
Release / Desktop app (linux-aarch64) (push) Successful in 7m16s
Release / Desktop app (linux-x86_64) (push) Successful in 10m17s
Release / Desktop app (windows) (push) Successful in 4m54s
CI / Format and clippy (push) Successful in 1m13s
CI / Dependency audit (push) Successful in 13s
CI / Tests (Linux) (push) Successful in 1m35s
Release / Create release (push) Successful in 7s
CI / Check desktop app (Linux) (push) Successful in 3m19s
Release / CLI (linux-aarch64) (push) Successful in 1m3s
Release / CLI (linux-x86_64) (push) Successful in 1m28s
Release / Desktop app (linux-aarch64) (push) Successful in 7m16s
Release / Desktop app (linux-x86_64) (push) Successful in 10m17s
Release / Desktop app (windows) (push) Successful in 4m54s
Completes the English-only standardization for code, comments, scripts and CI templates (UI/CLI-facing strings stay bilingual pt-BR/en, untouched). Covers the remaining crates/, apps/gui/ui/ and apps/gui/src-tauri/ comments, .gitea/ workflow and template comments, .githooks/ hooks, and the scripts/ source comments for the files already renamed in a prior commit (check.sh, generate-logo.py, install-hooks.sh). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VAyr8d7HuAdUGB6aA5xmDD
This commit is contained in:
1 parent
bf059fd0bc
commit
55e19a8e5b
59 files changed
+935
-879
No files matched your search
@@ -1,7 +1,7 @@
|
||||
//! Servidor local da interface: uma única página HTML/JS servida em
|
||||
//! `127.0.0.1`, protegida por um token gerado na hora, falando com o
|
||||
//! núcleo por uma API JSON simples. A mesma página em `apps/gui/ui` é o
|
||||
//! que o app desktop (Tauri) carrega — só muda o transporte.
|
||||
//! Local web UI server: serves the single-page HTML/JS app on
|
||||
//! `127.0.0.1`, protected by a per-session random token, communicating with
|
||||
//! the core over JSON endpoints. The exact same frontend in `apps/gui/ui`
|
||||
//! powers the Tauri desktop app.
|
||||
|
||||
use sabia_core::engine::{Engine, ScanOptions};
|
||||
use serde::Deserialize;
|
||||
@@ -25,11 +25,11 @@ pub fn serve(port: u16, audit_path: std::path::PathBuf, open: bool) -> sabia_cor
|
||||
let listener = TcpListener::bind(("127.0.0.1", port))?;
|
||||
let engine = Arc::new(Engine::with_audit_path(audit_path));
|
||||
|
||||
// Sem isso, Ctrl+C (ou um `kill` normal) durante um Evil Twin ativo
|
||||
// mata o processo sem rodar a limpeza: hostapd/dnsmasq ficam órfãos
|
||||
// e as duas interfaces ficam presas em `managed no` pro
|
||||
// NetworkManager — o painel de Wi-Fi do sistema some por completo até
|
||||
// o próximo início do engine se auto-curar.
|
||||
// Without a signal handler, Ctrl+C (or `SIGTERM`) during an active Evil Twin
|
||||
// exits before cleanup runs: `hostapd`/`dnsmasq` are left orphaned
|
||||
// and both interfaces remain stuck in `managed no` under
|
||||
// NetworkManager until the next engine startup runs self-healing.
|
||||
//
|
||||
{
|
||||
let engine = engine.clone();
|
||||
let _ = ctrlc::set_handler(move || {
|
||||
|
||||
Reference in new issue
Block a user