style(core): remove outdated comments

This commit is contained in:
Federico Terzi 2021-07-10 10:28:10 +02:00
parent 190b718614
commit 4dac91e10c

View File

@ -90,7 +90,6 @@ fn launcher_main(args: CliModuleArgs) -> i32 {
} else { } else {
false false
}; };
// TODO: consider also Windows case?
let add_to_path_handler = Box::new(move || match util::add_espanso_to_path() { let add_to_path_handler = Box::new(move || match util::add_espanso_to_path() {
Ok(_) => true, Ok(_) => true,
Err(error) => { Err(error) => {
@ -116,10 +115,6 @@ fn launcher_main(args: CliModuleArgs) -> i32 {
preferences_clone.set_completed_wizard(true); preferences_clone.set_completed_wizard(true);
}); });
// TODO: show a "espanso is now running page at the end" (it should be triggered everytime
// espanso is started, unless the user unchecks "show this message at startup")
// This page could also be used when the user starts espanso, but an instance is already running.
// Only show the wizard if a panel should be displayed // Only show the wizard if a panel should be displayed
let should_launch_daemon = if is_welcome_page_enabled let should_launch_daemon = if is_welcome_page_enabled
|| is_move_bundle_page_enabled || is_move_bundle_page_enabled
@ -188,6 +183,5 @@ fn launcher_main(args: CliModuleArgs) -> i32 {
#[cfg(not(feature = "modulo"))] #[cfg(not(feature = "modulo"))]
fn launcher_main(_: CliModuleArgs) -> i32 { fn launcher_main(_: CliModuleArgs) -> i32 {
// TODO: handle what happens here // TODO: handle what happens here
unimplemented!();
0
} }