diff --git a/dist/cli.js b/dist/cli.js index df42ae1..427acf9 100644 --- a/dist/cli.js +++ b/dist/cli.js @@ -492,7 +492,9 @@ async function mergeConfig(url, options, tauriConf) { Object.assign(tauriConf.pake.windows[0], { url, ...tauriConfWindowOptions }); 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); if (pathExists) {