From 912a1429e4dd1ceceb99ed4dddcfaf6c7d52161c Mon Sep 17 00:00:00 2001 From: Vladislav Nepogodin Date: Sat, 25 Mar 2023 18:42:48 +0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20useless=20call=20to=20fix=5Fpath?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index d8b0536..5cb0fdb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -58,9 +58,9 @@ fn quick_message(message: &'static str) { let result = dialog.run(); let cmd: String; if result == gtk::ResponseType::No { - cmd = fix_path("/usr/local/bin/calamares-offline.sh"); + cmd = "/usr/local/bin/calamares-offline.sh".to_owned(); } else if result == gtk::ResponseType::Yes { - cmd = fix_path("/usr/local/bin/calamares-online.sh"); + cmd = "/usr/local/bin/calamares-online.sh".to_owned(); } else { unsafe { dialog.destroy();