Fix launch Issue related to Calamares start (#18)

This commit is contained in:
DX 2024-04-18 14:31:18 +03:30 committed by GitHub
parent 35a406eb25
commit bc77e00bb2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,7 +12,7 @@ fn main() {
let _ = open::that(url.as_str());
});
appwindow.global::<Globals>().on_startInstaller(move || {
let _ = Command::new("sudo").arg("-E").arg("calamares").spawn();
let _ = Command::new("sudo").arg("-E").arg("/etc/calamares/launch.sh").spawn();
});
let _ = appwindow.run();
}