🔖 3.0.0-beta
This commit is contained in:
4
.github/workflows/pake-cli.yaml
vendored
4
.github/workflows/pake-cli.yaml
vendored
@@ -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
6
dist/cli.js
vendored
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user