Skip to content

Commit

Permalink
fix: reopen only available on macos (#1593)
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Jun 7, 2024
1 parent fa09608 commit 653a8e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,7 @@ fn main() {

api.prevent_close();
}
#[cfg(target_os = "macos")]
tauri::RunEvent::Reopen {
has_visible_windows,
..
Expand Down

0 comments on commit 653a8e9

Please sign in to comment.