[desktop] Remove assets symlink

This commit is contained in:
Vladimir Stoilov
2024-05-10 20:36:16 +03:00
parent 2da6bcc28d
commit e964385f83
4 changed files with 16 additions and 13 deletions

View File

@@ -1 +0,0 @@
../../assets/data

View File

@@ -39,10 +39,14 @@ const PM_TRAY_ICON_ID: &'static str = "pm_icon";
// Icons
//
const BLUE_ICON: &'static [u8] = include_bytes!("../../assets/icons/pm_light_blue_512.ico");
const RED_ICON: &'static [u8] = include_bytes!("../../assets/icons/pm_light_red_512.ico");
const YELLOW_ICON: &'static [u8] = include_bytes!("../../assets/icons/pm_light_yellow_512.ico");
const GREEN_ICON: &'static [u8] = include_bytes!("../../assets/icons/pm_light_green_512.ico");
const BLUE_ICON: &'static [u8] =
include_bytes!("../../../../assets/data/icons/pm_light_blue_512.ico");
const RED_ICON: &'static [u8] =
include_bytes!("../../../../assets/data/icons/pm_light_red_512.ico");
const YELLOW_ICON: &'static [u8] =
include_bytes!("../../../../assets/data/icons/pm_light_yellow_512.ico");
const GREEN_ICON: &'static [u8] =
include_bytes!("../../../../assets/data/icons/pm_light_green_512.ico");
pub fn setup_tray_menu(
app: &mut tauri::App,

View File

@@ -96,10 +96,10 @@
"msi"
],
"icon": [
"../assets/icons/pm_dark_512.png",
"../assets/icons/pm_dark_512.ico",
"../assets/icons/pm_light_512.png",
"../assets/icons/pm_light_512.ico"
"../../../assets/data/icons/pm_dark_512.png",
"../../../assets/data/icons/pm_dark_512.ico",
"../../../assets/data/icons/pm_light_512.png",
"../../../assets/data/icons/pm_light_512.ico"
]
}
}