This commit is contained in:
Valeria Fadeeva 2023-10-19 01:46:12 +05:00
parent fb83293f26
commit aa37736189
1 changed files with 2 additions and 2 deletions

View File

@ -65,9 +65,9 @@ fn quick_message(message: &'static str) {
let result = dialog.run(); let result = dialog.run();
let cmd: String; let cmd: String;
if result == gtk::ResponseType::No { if result == gtk::ResponseType::No {
cmd = "/usr/local/bin/calamares-offline.sh".to_owned(); cmd = "/usr/local/bin/calamares-offline".to_owned();
} else if result == gtk::ResponseType::Yes { } else if result == gtk::ResponseType::Yes {
cmd = "/usr/local/bin/calamares-online.sh".to_owned(); cmd = "/usr/local/bin/calamares-online".to_owned();
} else { } else {
unsafe { unsafe {
dialog.destroy(); dialog.destroy();