Skip to content

Commit

Permalink
Update cli.js
Browse files Browse the repository at this point in the history
Signed-off-by: Tlntin <[email protected]>
  • Loading branch information
Tlntin authored Jun 24, 2024
1 parent 50c0c32 commit b3a7f70
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dist/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b3a7f70

Please sign in to comment.