Configure profile.release to reduce binary size
- Strip symbols and stuff - Also change default icon in OSD
This commit is contained in:
parent
af951f8664
commit
8343dc18f2
@ -4,4 +4,11 @@ members = [
|
||||
"crates/popcorn",
|
||||
"crates/popcorn-d",
|
||||
"crates/popcorn-conf",
|
||||
]
|
||||
]
|
||||
|
||||
[profile.release]
|
||||
lto = "thin"
|
||||
codegen-units = 1
|
||||
strip = "symbols"
|
||||
opt-level = "z"
|
||||
panic = "abort"
|
||||
@ -51,7 +51,7 @@ fn set_ui_props(ui: &OSDpopup, args: &OsdArgs) -> Result<(), Box<dyn std::error:
|
||||
let icon_size = value_font_size;
|
||||
let icon_font_color = value_font_color;
|
||||
let icon_font = "IosevkaTermSlab Nerd Font Mono";
|
||||
let icon_glyph = args.icon.as_deref().unwrap_or("");
|
||||
let icon_glyph = args.icon.as_deref().unwrap_or("");
|
||||
|
||||
// Config values -> Slint component properties
|
||||
ui.set_popup_width(popup_width);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user