Browse Source

fix(bundler): fix problem of macOS bunder while i18n is set, closes #6614 (#6615)

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
afa 2 years ago
parent
commit
7489f96697
2 changed files with 6 additions and 1 deletions
  1. 5 0
      .changes/fix-dmg-bundle.md
  2. 1 1
      tooling/bundler/src/bundle/macos/dmg.rs

+ 5 - 0
.changes/fix-dmg-bundle.md

@@ -0,0 +1,5 @@
+---
+"tauri-bundler": patch
+---
+
+Fixes DMG bundling not finding bundle to set icon position.

+ 1 - 1
tooling/bundler/src/bundle/macos/dmg.rs

@@ -96,7 +96,7 @@ pub fn bundle_project(settings: &Settings, bundles: &[Bundle]) -> crate::Result<
     "--volname",
     product_name,
     "--icon",
-    product_name,
+    &bundle_file_name,
     "180",
     "170",
     "--app-drop-link",