Bläddra i källkod

fix: restore file in release mode

Jonathan Kelley 5 månader sedan
förälder
incheckning
6c907b1c20
1 ändrade filer med 0 tillägg och 1 borttagningar
  1. 0 1
      packages/desktop/src/app.rs

+ 0 - 1
packages/desktop/src/app.rs

@@ -592,7 +592,6 @@ fn hide_last_window(window: &Window) {
 }
 
 /// Return the location of a tempfile with our window state in it such that we can restore it later
-#[cfg(debug_assertions)]
 fn restore_file() -> std::path::PathBuf {
     /// Get the name of the program or default to "dioxus" so we can hash it
     fn get_prog_name_or_default() -> Option<String> {