Added button and animatations

This commit is contained in:
Nicola Guerrera
2023-02-27 16:11:28 +01:00
parent 9969571546
commit fe32d7ebbf
4 changed files with 137 additions and 52 deletions

View File

@@ -38,11 +38,11 @@ async fn main() -> Result<()> {
let protostar = if let Some(desktop_file) = args.desktop_file {
ProtoStar::create_from_desktop_file(
client.get_root(),
[0.0,0.0,0.0],
[0.0, 0.0, 0.0],
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, command)?
} else {
bail!("No command or desktop file, nothing to launch.");
};