feat(ci): also test on Windows and macOS (#366)

This commit is contained in:
Lucas Fernandes Nogueira
2023-05-17 20:53:03 -03:00
committed by GitHub
parent 22991af9f4
commit b064718f32
4 changed files with 27 additions and 16 deletions
+1 -1
View File
@@ -243,7 +243,7 @@ mod imp {
#[cfg(all(windows, feature = "windows7-compat"))]
fn notify_win7<R: tauri::Runtime>(self, app: &tauri::AppHandle<R>) -> crate::Result<()> {
let app = app.clone();
let default_window_icon = app.manager.inner.default_window_icon.clone();
let default_window_icon = app.default_window_icon().cloned();
let _ = app.run_on_main_thread(move || {
let mut notification = win7_notifications::Notification::new();
if let Some(body) = self.body {