From 2e23a122c3f622dce4324f5a6feb0d28485e62c1 Mon Sep 17 00:00:00 2001 From: GorouFlex <98001973+gorouflex@users.noreply.github.com> Date: Wed, 14 Feb 2024 11:17:28 +0700 Subject: [PATCH] support dmg> --- .github/workflows/main.yml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3256215..b5a932f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,6 +27,25 @@ jobs: env: TAG: ${{ env.TAG }} + - name: Install create-dmg + run: | + brew install create-dmg + + - name: Create dmg + run: | + create-dmg \ + --volname "UXTU4Mac" \ + --volicon "/Img/Logo.img" \ + --window-pos 200 120 \ + --window-size 800 400 \ + --icon-size 100 \ + --icon UXTU4Mac 200 190 \ + --hide-extension UXTU4Mac \ + --app-drop-link 600 185 \ + --hdiutil-quiet \ + --symbolic-link "/Applications" \ + UXTU4Mac.dmg UXTU4Mac/ + - id: generate-notes name: Generate Release Notes shell: bash @@ -42,6 +61,8 @@ jobs: name: v${{ env.TAG }} tag_name: ${{ env.TAG }} body_path: ${{ github.workspace }}-RELEASE_NOTES.txt - files: UXTU4Mac.zip + files: | + UXTU4Mac.zip + UXTU4Mac.dmg env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}