From 0e96af1b9b787315559e9cc9d7532aecd1eeba09 Mon Sep 17 00:00:00 2001 From: Tlntin <371043382@qq.com> Date: Tue, 6 Dec 2022 16:44:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=85=8D=E7=BD=AE=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/builders/tauriConf.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/builders/tauriConf.js b/bin/builders/tauriConf.js index 59ac59b..8faf179 100644 --- a/bin/builders/tauriConf.js +++ b/bin/builders/tauriConf.js @@ -7,13 +7,14 @@ let tauriConf = { tauri: CommonConf.tauri } -switch (process.arch) { +switch (process.platform) { case "win32": { tauriConf.tauri.bundle = WinConf.bundle; break; } case "darwin": { tauriConf.tauri.bundle = MacConf.bundle; + break; } } export default tauriConf;