diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 36978fb..4e9e273 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -47,6 +47,10 @@ jobs: sudo apt-get update sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf + - name: Install OpenSSL + run: | + choco install openssl + - name: Install Windows dependencies if: matrix.platform == 'windows-latest' run: | diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 7eb0ac2..33daeb1 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -323,7 +323,7 @@ fn main() { } }) .setup(|_app| { - let window = _app.get_window("main").unwrap(); + let _window = _app.get_window("main").unwrap(); #[cfg(target_os = "macos")] { @@ -333,7 +333,7 @@ fn main() { use tauri_nspanel::cocoa::base::BOOL; unsafe { - let id = window.ns_window().unwrap() as cocoa::base::id; + let id = _window.ns_window().unwrap() as cocoa::base::id; id.setHasShadow_(BOOL::from(false)); id.setTitleVisibility_(NSWindowTitleVisibility::NSWindowTitleHidden); } @@ -341,7 +341,7 @@ fn main() { #[cfg(debug_assertions)] { - window.open_devtools(); + _window.open_devtools(); } Ok(())