refactor: pake-cli support tauri 2.x beta
This commit is contained in:
12
bin/helpers/tauriConfig.ts
vendored
12
bin/helpers/tauriConfig.ts
vendored
@@ -15,11 +15,15 @@ const { platform } = process;
|
||||
const platformConfig = platformConfigs[platform];
|
||||
|
||||
let tauriConfig = {
|
||||
tauri: {
|
||||
...CommonConf.tauri,
|
||||
bundle: platformConfig.tauri.bundle,
|
||||
...CommonConf,
|
||||
bundle: platformConfig.bundle,
|
||||
app: {
|
||||
...CommonConf.app,
|
||||
trayIcon: {
|
||||
...CommonConf.app.trayIcon,
|
||||
...(platformConfig?.app?.trayIcon ?? {}),
|
||||
},
|
||||
},
|
||||
package: CommonConf.package,
|
||||
build: CommonConf.build,
|
||||
pake: pakeConf,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user