feat(desktop): add WSL backend mode (#12914)

This commit is contained in:
Brendan Allan
2026-02-11 15:49:48 +08:00
committed by GitHub
parent d98bd4bd52
commit 213a87234d
27 changed files with 690 additions and 354 deletions

View File

@@ -2,6 +2,7 @@ use tauri_plugin_window_state::StateFlags;
pub const SETTINGS_STORE: &str = "opencode.settings.dat";
pub const DEFAULT_SERVER_URL_KEY: &str = "defaultServerUrl";
pub const WSL_ENABLED_KEY: &str = "wslEnabled";
pub const UPDATER_ENABLED: bool = option_env!("TAURI_SIGNING_PRIVATE_KEY").is_some();
pub const MAX_LOG_ENTRIES: usize = 200;