🐛 cli support tauri2
This commit is contained in:
6
bin/helpers/merge.ts
vendored
6
bin/helpers/merge.ts
vendored
@@ -45,10 +45,10 @@ export async function mergeConfig(url: string, options: PakeAppOptions, tauriCon
|
||||
};
|
||||
Object.assign(tauriConf.pake.windows[0], { url, ...tauriConfWindowOptions });
|
||||
|
||||
tauriConf.package.productName = name;
|
||||
tauriConf.tauri.bundle.identifier = identifier;
|
||||
tauriConf.productName = name;
|
||||
tauriConf.identifier = identifier;
|
||||
if (platform == "win32") {
|
||||
tauriConf.tauri.bundle.windows.wix.language[0] = installerLanguage;
|
||||
tauriConf.bundle.windows.wix.language[0] = installerLanguage;
|
||||
}
|
||||
|
||||
//Judge the type of URL, whether it is a file or a website.
|
||||
|
||||
Reference in New Issue
Block a user