Brendan Allan 8 месяцев назад
Родитель
Сommit
382ec8fb2c
2 измененных файлов с 11 добавлено и 1 удалено
  1. 5 0
      packages/tauri/src-tauri/tauri.conf.json
  2. 6 1
      packages/tauri/src-tauri/tauri.prod.conf.json

+ 5 - 0
packages/tauri/src-tauri/tauri.conf.json

@@ -30,6 +30,11 @@
     "externalBin": ["sidecars/opencode-cli"],
     "externalBin": ["sidecars/opencode-cli"],
     "macOS": {
     "macOS": {
       "entitlements": "./entitlements.plist"
       "entitlements": "./entitlements.plist"
+    },
+    "windows": {
+      "nsis": {
+        "installerIcon": "icons/dev/icon.ico"
+      }
     }
     }
   }
   }
 }
 }

+ 6 - 1
packages/tauri/src-tauri/tauri.prod.conf.json

@@ -10,7 +10,12 @@
       "icons/prod/128x128@2x.png",
       "icons/prod/128x128@2x.png",
       "icons/prod/icon.icns",
       "icons/prod/icon.icns",
       "icons/prod/icon.ico"
       "icons/prod/icon.ico"
-    ]
+    ],
+    "windows": {
+      "nsis": {
+        "installerIcon": "icons/prod/icon.ico"
+      }
+    }
   },
   },
   "plugins": {
   "plugins": {
     "updater": {
     "updater": {