From 6c907b1c20ba7cb960d2a2c2aaaafe170bd56326 Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Mon, 20 Jan 2025 18:36:17 -0800 Subject: [PATCH] fix: restore file in release mode --- packages/desktop/src/app.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/desktop/src/app.rs b/packages/desktop/src/app.rs index 2ff04b31b..555399906 100644 --- a/packages/desktop/src/app.rs +++ b/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 {