Update merge.ts

Signed-off-by: Tlntin <TlntinDeng01@Gmail.com>
This commit is contained in:
Tlntin
2024-06-24 14:15:48 +08:00
committed by GitHub
parent 4731ff7ab4
commit 50c0c329e9

View File

@@ -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);