Skip to content

Commit

Permalink
fix(win): wonky opening behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeHD committed Oct 9, 2023
1 parent 3364e6b commit 109c49d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ fn main() {
.resizable(true)
.disable_file_drop_handler()
.data_directory(get_webdata_dir())
.visible(false)
.build()?;

// If safemode is enabled, stop here
Expand All @@ -238,6 +239,8 @@ fn main() {
// Deep link registry
deep_link::register_deep_link_handler(win.clone());

win.show().unwrap();

init::inject_routine(win);

Ok(())
Expand Down

0 comments on commit 109c49d

Please sign in to comment.