From 694998812bbda3f79a75537fc50b43c4d532b943 Mon Sep 17 00:00:00 2001
From: Valeria Fadeeva <valeria.fadeeva.me@gmail.com>
Date: Thu, 30 Jan 2025 22:48:15 +0500
Subject: [PATCH] Update

---
 src/main.rs | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/main.rs b/src/main.rs
index 391ed58..03bfd33 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -133,8 +133,8 @@ fn main() {
         col_install_new_sys.set_margin(10);
         col_install_new_sys.set_pad(10);
 
-
-        let _installation_start_here = Frame::default().with_label(&t!("label.installation_start_here"));
+        let _installation_start_here =
+            Frame::default().with_label(&t!("label.installation_start_here"));
 
         let _label_passwords = Frame::default().with_label(&t!("label.users_and_passwords"));
 
@@ -153,7 +153,7 @@ fn main() {
             let _x: &str = match c.value() {
                 0 => {
                     let mut image_home_partition_shared = SvgImage::load(
-                        "assets/images/home-partition-shared.svg"
+                        "/usr/share/melawy-linux-welcome/assets/images/home-partition-shared.svg"
                     ).unwrap();
                     image_home_partition_shared.scale(550, 200, true, true);
                     frame_show_partition_layout.set_image(Some(image_home_partition_shared));
@@ -165,7 +165,7 @@ fn main() {
                 }
                 1 => {
                     let mut image_home_partition_separated = SvgImage::load(
-                        "assets/images/home-partition-separated.svg"
+                        "/usr/share/melawy-linux-welcome/assets/images/home-partition-separated.svg"
                     ).unwrap();
                     image_home_partition_separated.scale(550, 200, true, true);
                     frame_show_partition_layout.set_image(Some(image_home_partition_separated));
@@ -189,13 +189,13 @@ fn main() {
                         {
                             if _x == "separated" {
                                 let cmd =
-                                    "/usr/lib/kf6/kdesu -t dbus-launch /data/github/active/Melawy/Melawy-Dev/MELAWY/Installer/melawy-linux-welcome/scripts/run_installer_with_partition_separated_layout.sh";
+                                    "/usr/lib/kf6/kdesu -t dbus-launch /usr/share/melawy-linux-welcome/scripts/run_installer_with_partition_separated_layout.sh";
                                 let _ = run_cmd(cmd, None);
                             }
 
                             if _x == "shared" {
                                 let cmd =
-                                    "/usr/lib/kf6/kdesu -t dbus-launch /data/github/active/Melawy/Melawy-Dev/MELAWY/Installer/melawy-linux-welcome/scripts/run_installer_with_partition_shared_layout.sh";
+                                    "/usr/lib/kf6/kdesu -t dbus-launch /usr/share/melawy-linux-welcome/scripts/run_installer_with_partition_shared_layout.sh";
                                 let _ = run_cmd(cmd, None);
                             }
                         }