diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7b614c5..cd8b3ce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,9 +4,9 @@ on: workflow_dispatch: inputs: tag: - description: Release tag (e.g. v0.0.1) + description: Release tag (e.g. v0.0.1-beta.0) required: true - default: v0.0.1 + default: v0.0.1-beta.0 platform: description: Build platform required: true @@ -200,6 +200,7 @@ jobs: make_latest: false tag_name: ${{ steps.get-tag.outputs.tag }} target_commitish: ${{ github.sha }} + prerelease: ${{ contains(steps.get-tag.outputs.tag, '-') }} body: ${{ steps.generate-body.outputs.body }} files: release/** @@ -208,7 +209,8 @@ jobs: needs: release runs-on: ubuntu-latest if: | - startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' + (startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, '-')) || + (github.event_name == 'workflow_dispatch' && !contains(github.event.inputs.tag, '-')) steps: - name: Download all artifacts uses: actions/download-artifact@v8 diff --git a/electron-builder.json5 b/electron-builder.json5 index e1841e3..b3ec77a 100644 --- a/electron-builder.json5 +++ b/electron-builder.json5 @@ -35,20 +35,20 @@ "background": "public/dmg-background.png", "contents": [ { - "x": 380, - "y": 280, + "x": 615, + "y": 379, "type": "link", "path": "/Applications" }, { - "x": 110, - "y": 280, + "x": 165, + "y": 375, "type": "file" } ], "window": { - "width": 540, - "height": 400 + "width": 810, + "height": 600 } }, "win": { diff --git a/public/dmg-background.png b/public/dmg-background.png index 8062f36..788be70 100644 Binary files a/public/dmg-background.png and b/public/dmg-background.png differ