🔖 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]'
|
description: '[Height, Optional]'
|
||||||
required: false
|
required: false
|
||||||
default: '780'
|
default: '780'
|
||||||
safe_domain:
|
|
||||||
description: '[Safe Domain, Optional]'
|
|
||||||
required: false
|
|
||||||
hide_title_bar:
|
hide_title_bar:
|
||||||
description: '[Hide TitleBar, Optional, MacOS only]'
|
description: '[Hide TitleBar, Optional, MacOS only]'
|
||||||
required: false
|
required: false
|
||||||
@@ -132,7 +129,6 @@ jobs:
|
|||||||
RESIZE: ${{ inputs.resize }}
|
RESIZE: ${{ inputs.resize }}
|
||||||
MULTI_ARCH: ${{ inputs.multi_arch }}
|
MULTI_ARCH: ${{ inputs.multi_arch }}
|
||||||
TARGETS: ${{ inputs.targets }}
|
TARGETS: ${{ inputs.targets }}
|
||||||
SAFE_DOMAIN: ${{ inputs.safe_domain }}
|
|
||||||
|
|
||||||
- name: Upload archive
|
- name: Upload archive
|
||||||
uses: actions/upload-artifact@v3
|
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,
|
disabled_web_shortcuts: disabledWebShortcuts,
|
||||||
};
|
};
|
||||||
Object.assign(tauriConf.pake.windows[0], { url, ...tauriConfWindowOptions });
|
Object.assign(tauriConf.pake.windows[0], { url, ...tauriConfWindowOptions });
|
||||||
tauriConf.package.productName = name;
|
tauriConf.productName = name;
|
||||||
tauriConf.tauri.bundle.identifier = identifier;
|
tauriConf.identifier = identifier;
|
||||||
if (platform == "win32") {
|
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.
|
//Judge the type of URL, whether it is a file or a website.
|
||||||
const pathExists = await fsExtra.pathExists(url);
|
const pathExists = await fsExtra.pathExists(url);
|
||||||
|
|||||||
Reference in New Issue
Block a user