Better print of firmware attributes in CLI

This commit is contained in:
Luke D. Jones
2024-12-29 11:36:22 +13:00
parent d40f4733e2
commit 2ed2d82e03
3 changed files with 66 additions and 13 deletions

View File

@@ -117,11 +117,6 @@ async fn main() -> Result<()> {
config.startup_in_background = false;
}
if config.startup_in_background {
config.run_in_background = true;
}
config.write();
let enable_tray_icon = config.enable_tray_icon;
let startup_in_background = config.startup_in_background;
let config = Arc::new(Mutex::new(config));
@@ -162,7 +157,6 @@ async fn main() -> Result<()> {
if let Ok(mut lock) = app_state.lock() {
*lock = AppState::MainWindowOpen;
}
sleep(Duration::from_millis(50));
let config_copy = config.clone();
let app_state_copy = app_state.clone();

View File

@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2024-12-28 09:01+0000\n"
"POT-Creation-Date: 2024-12-28 22:36+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"