diff --git a/Cargo.toml b/Cargo.toml index a2fe9e2..bc2b234 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,4 +4,11 @@ members = [ "crates/popcorn", "crates/popcorn-d", "crates/popcorn-conf", -] \ No newline at end of file +] + +[profile.release] +lto = "thin" +codegen-units = 1 +strip = "symbols" +opt-level = "z" +panic = "abort" \ No newline at end of file diff --git a/crates/popcorn/src/show_popup.rs b/crates/popcorn/src/show_popup.rs index 5828d16..8593923 100644 --- a/crates/popcorn/src/show_popup.rs +++ b/crates/popcorn/src/show_popup.rs @@ -51,7 +51,7 @@ fn set_ui_props(ui: &OSDpopup, args: &OsdArgs) -> Result<(), Box Slint component properties ui.set_popup_width(popup_width);