✨ Support setting the installer language
This commit is contained in:
2
bin/helpers/merge.ts
vendored
2
bin/helpers/merge.ts
vendored
@@ -25,6 +25,7 @@ export async function mergeConfig(url: string, options: PakeAppOptions, tauriCon
|
||||
resizable = true,
|
||||
inject,
|
||||
safeDomain,
|
||||
installerLanguage,
|
||||
} = options;
|
||||
|
||||
const { platform } = process;
|
||||
@@ -44,6 +45,7 @@ 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
|
||||
|
||||
//Judge the type of URL, whether it is a file or a website.
|
||||
const pathExists = await fsExtra.pathExists(url);
|
||||
|
||||
Reference in New Issue
Block a user