From 50c0c329e985d21d9e563ccee8c8a40b70558f3a Mon Sep 17 00:00:00 2001 From: Tlntin Date: Mon, 24 Jun 2024 14:15:48 +0800 Subject: [PATCH] Update merge.ts Signed-off-by: Tlntin --- bin/helpers/merge.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/helpers/merge.ts b/bin/helpers/merge.ts index 99e79b2..a84a907 100644 --- a/bin/helpers/merge.ts +++ b/bin/helpers/merge.ts @@ -45,7 +45,9 @@ export async function mergeConfig(url: string, options: PakeAppOptions, tauriCon tauriConf.package.productName = name; tauriConf.tauri.bundle.identifier = identifier; - tauriConf.tauri.bundle.windows.wix.language[0] = installerLanguage + if (platform == "win32") { + tauriConf.tauri.bundle.windows.wix.language[0] = installerLanguage; + } //Judge the type of URL, whether it is a file or a website. const pathExists = await fsExtra.pathExists(url);