From a5fb724917c289b28fe6ae06f5c5db0e95648b5c Mon Sep 17 00:00:00 2001 From: r12f Date: Sun, 17 Jul 2022 12:28:21 -0700 Subject: [PATCH] Fix divoom_cli package publish issue. --- divoom_cli/assets/Logo-256.ico | 1 + divoom_cli/build.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 120000 divoom_cli/assets/Logo-256.ico diff --git a/divoom_cli/assets/Logo-256.ico b/divoom_cli/assets/Logo-256.ico new file mode 120000 index 0000000..de9b979 --- /dev/null +++ b/divoom_cli/assets/Logo-256.ico @@ -0,0 +1 @@ +../../assets/Logo-256.ico \ No newline at end of file diff --git a/divoom_cli/build.rs b/divoom_cli/build.rs index d2d9534..af91b0d 100644 --- a/divoom_cli/build.rs +++ b/divoom_cli/build.rs @@ -3,7 +3,7 @@ extern crate winres; fn main() { if cfg!(target_os = "windows") { let mut res = winres::WindowsResource::new(); - res.set_icon("../assets/Logo-256.ico"); + res.set_icon("assets/Logo-256.ico"); res.compile().unwrap(); } }