diff --git a/.github/workflows/pake-cli.yaml b/.github/workflows/pake-cli.yaml index d4541c9..db00064 100644 --- a/.github/workflows/pake-cli.yaml +++ b/.github/workflows/pake-cli.yaml @@ -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 diff --git a/dist/cli.js b/dist/cli.js index b1061c5..b740c97 100644 --- a/dist/cli.js +++ b/dist/cli.js @@ -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);