🐛 Update Linux packaging experience

This commit is contained in:
Tw93
2024-12-30 15:36:25 +08:00
parent 1032b09ebd
commit 4871e0dafc
5 changed files with 5 additions and 8 deletions

4
dist/cli.js vendored
View File

@@ -265,7 +265,6 @@ let tauriConfig = {
app: {
...CommonConf.app,
trayIcon: {
...CommonConf.app.trayIcon,
...(platformConfig?.app?.trayIcon ?? {}),
},
},
@@ -320,7 +319,7 @@ function shellExec(command) {
resolve(0);
}
else {
reject(new Error(`${code}`));
reject(new Error(`Error occurred while executing command "${command}". Exit code: ${code}`));
}
});
});
@@ -443,7 +442,6 @@ async function mergeConfig(url, options, tauriConf) {
Object.assign(tauriConf.pake.windows[0], { url, ...tauriConfWindowOptions });
tauriConf.productName = name;
tauriConf.identifier = identifier;
console.log('tauriConf appVersion>>>>>>>>>>>>>>>>>>>>>>>', appVersion);
tauriConf.version = appVersion;
if (platform == 'win32') {
tauriConf.bundle.windows.wix.language[0] = installerLanguage;