Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.
Rust chatgptclaudeclidesktopdesktop-appelectron-alternativegeminilinuxmacosnativefierno-electronrusttauriweb-to-desktopwebsite-to-appwebviewwindowsyoutube
Fix CLI integration test on Windows and silence fullscreen param warnings
Tw936ab9a628ef0f
diff --git a/.github/workflows/quality-and-test.yml b/.github/workflows/quality-and-test.ymlindex d92a485e..4537cc6c 100644--- a/.github/workflows/quality-and-test.yml+++ b/.github/workflows/quality-and-test.yml@@ -129,9 +129,9 @@ jobs:run: |echo "Testing CLI integration..."if [[ "$RUNNER_OS" == "Windows" ]]; then- timeout 60s node dist/cli.js https://weekly.tw93.fun --name "CITest" --debug || true+ timeout 60s PAKE_CREATE_APP=1 node dist/cli.js https://weekly.tw93.fun --name "CITest" --debug --iterative-build || trueelse- timeout 30s node dist/cli.js https://weekly.tw93.fun --name "CITest" --debug || true+ timeout 30s PAKE_CREATE_APP=1 node dist/cli.js https://weekly.tw93.fun --name "CITest" --debug --iterative-build || truefisummary:diff --git a/src-tauri/src/app/setup.rs b/src-tauri/src/app/setup.rsindex 1e76b5ae..3fcc7337 100644--- a/src-tauri/src/app/setup.rs+++ b/src-tauri/src/app/setup.rs@@ -13,7 +13,7 @@ pub fn set_system_tray(app: &AppHandle,show_system_tray: bool,tray_icon_path: &str,- init_fullscreen: bool,+ _init_fullscreen: bool,) -> tauri::Result<()> {if !show_system_tray {app.remove_tray_by_id("pake-tray");@@ -42,7 +42,7 @@ pub fn set_system_tray(if let Some(window) = app.get_webview_window("pake") {window.show().unwrap();#[cfg(target_os = "linux")]- if init_fullscreen && !window.is_fullscreen().unwrap_or(false) {+ if _init_fullscreen && !window.is_fullscreen().unwrap_or(false) {let _ = window.set_fullscreen(true);let _ = window.set_focus();}@@ -65,7 +65,7 @@ pub fn set_system_tray(window.show().unwrap();window.set_focus().unwrap();#[cfg(target_os = "linux")]- if init_fullscreen && !window.is_fullscreen().unwrap_or(false) {+ if _init_fullscreen && !window.is_fullscreen().unwrap_or(false) {let _ = window.set_fullscreen(true);}}@@ -95,7 +95,7 @@ pub fn set_system_tray(pub fn set_global_shortcut(app: &AppHandle,shortcut: String,- init_fullscreen: bool,+ _init_fullscreen: bool,) -> tauri::Result<()> {if shortcut.is_empty() {return Ok(());@@ -128,7 +128,7 @@ pub fn set_global_shortcut(window.show().unwrap();window.set_focus().unwrap();#[cfg(target_os = "linux")]- if init_fullscreen && !window.is_fullscreen().unwrap_or(false) {+ if _init_fullscreen && !window.is_fullscreen().unwrap_or(false) {let _ = window.set_fullscreen(true);}}