🔖 3.0.0-beta

This commit is contained in:
Tw93
2024-12-16 15:23:05 +08:00
parent d3e4217bed
commit 35dcf76d80
2 changed files with 3 additions and 7 deletions

View File

@@ -28,9 +28,6 @@ on:
description: '[Height, Optional]'
required: false
default: '780'
safe_domain:
description: '[Safe Domain, Optional]'
required: false
hide_title_bar:
description: '[Hide TitleBar, Optional, MacOS only]'
required: false
@@ -132,7 +129,6 @@ jobs:
RESIZE: ${{ inputs.resize }}
MULTI_ARCH: ${{ inputs.multi_arch }}
TARGETS: ${{ inputs.targets }}
SAFE_DOMAIN: ${{ inputs.safe_domain }}
- name: Upload archive
uses: actions/upload-artifact@v3

6
dist/cli.js vendored
View File

@@ -479,10 +479,10 @@ async function mergeConfig(url, options, tauriConf) {
disabled_web_shortcuts: disabledWebShortcuts,
};
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.
const pathExists = await fsExtra.pathExists(url);