From 562e8ca23facf1a8e5fa6c8cdf872357d3523a78 Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Wed, 15 Jun 2022 09:03:53 -0300 Subject: [PATCH] fix(codegen): tray icon path is relative to the config directory --- .changes/fix-tray-icon-lookup.md | 5 +++++ core/tauri-codegen/src/context.rs | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changes/fix-tray-icon-lookup.md diff --git a/.changes/fix-tray-icon-lookup.md b/.changes/fix-tray-icon-lookup.md new file mode 100644 index 000000000..b24cef0ac --- /dev/null +++ b/.changes/fix-tray-icon-lookup.md @@ -0,0 +1,5 @@ +--- +"tauri-codegen": patch +--- + +Read the tray icon path relatively to the config directory. diff --git a/core/tauri-codegen/src/context.rs b/core/tauri-codegen/src/context.rs index ec3ba0d7c..c6db8cbf9 100644 --- a/core/tauri-codegen/src/context.rs +++ b/core/tauri-codegen/src/context.rs @@ -242,7 +242,7 @@ pub fn context_codegen(data: ContextData) -> Result