Improvements by Nova

This commit is contained in:
Nicola Guerrera
2023-03-02 13:55:30 +01:00
parent fd03171429
commit 32e050ca26
4 changed files with 47 additions and 45 deletions

View File

@@ -42,7 +42,7 @@ async fn main() -> Result<()> {
parse_desktop_file(desktop_file).map_err(|e| Report::msg(e))?,
)?
} else if let Some(command) = args.command {
ProtoStar::new_raw(client.get_root(), [0.0, 0.0, 0.0], None, command)?
ProtoStar::new_raw(client.get_root(), [0.0, 0.0, 0.0], None, None, command)?
} else {
bail!("No command or desktop file, nothing to launch.");
};