diff --git a/.github/workflows/release_build.yml b/.github/workflows/release_build.yml index 272485c9f..e448ed7e5 100644 --- a/.github/workflows/release_build.yml +++ b/.github/workflows/release_build.yml @@ -33,7 +33,7 @@ jobs: # GitHub token, automatically provided to the action # (No need to define this secret in the repo settings) github_token: ${{ secrets.github_token }} - args: "-c build/electron-builder.json" + args: "-c.extraMetadata.main=electron-wrapper.js -c build/electron-builder.json" # If the commit is tagged with a version (e.g. "v1.0.0"), # release the app after building diff --git a/.github/workflows/release_build_dev.yml b/.github/workflows/release_build_dev.yml index 498e2a2c6..feb7d2a58 100644 --- a/.github/workflows/release_build_dev.yml +++ b/.github/workflows/release_build_dev.yml @@ -21,7 +21,7 @@ jobs: id: version uses: nyaa8/package-version@v1 with: - path: './package.json' # Optional + path: './package.json' - name: Create nightly release id: create_release @@ -60,14 +60,7 @@ jobs: id: version uses: nyaa8/package-version@v1 with: - path: './package.json' # Optional - - #- name: Update package.json version - # uses: jossef/action-set-json-field@v1 - # with: - # file: package.json - # field: version - # value: ${{ env.PACKAGE_VERSION }}.${{ steps.date.outputs.date }} + path: './package.json' - name: Build/release Electron app #env: