From dcf49cc0943630dcf2c2df9c65ab1ee469a072c5 Mon Sep 17 00:00:00 2001 From: Jason Date: Tue, 26 Aug 2025 22:51:22 +0800 Subject: [PATCH] fix(tauri): correct bundle.targets schema to array - Replace per-OS map with array: ["app","dmg","nsis","appimage"]. - Align with Tauri v2 config; resolves schema validation error. - Keeps Windows portable ("app") target enabled. --- src-tauri/tauri.conf.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 48e4e74..7b5e442 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -28,7 +28,7 @@ }, "bundle": { "active": true, - "targets": "all", + "targets": ["app", "dmg", "nsis", "appimage"], "icon": [ "icons/32x32.png", "icons/128x128.png",