diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f4a3904..47cd080 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,7 +39,7 @@ jobs: echo "exists=false" >> "$GITHUB_OUTPUT" fi - # ── Step 2: build and publish (only when the tag does not yet exist) ────────── + # ── Step 2: build Windows, create the GitHub Release ───────────────────────── release-windows: needs: check-version if: needs.check-version.outputs.tag_exists == 'false' @@ -75,3 +75,73 @@ jobs: files: dist/*.exe env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + # ── Step 3: build macOS and upload artifacts ────────────────────────────────── + release-macos: + needs: [check-version, release-windows] + if: needs.check-version.outputs.tag_exists == 'false' + runs-on: macos-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + + - name: Enable Corepack (yarn) + run: corepack enable + + - name: Install dependencies + run: yarn install --frozen-lockfile + + - name: Build macOS DMG + run: yarn build:mac + env: + EP_DRAFT: true + + - name: Upload macOS artifacts to GitHub Release + uses: softprops/action-gh-release@v2 + with: + tag_name: v${{ needs.check-version.outputs.version }} + files: dist/*.dmg + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + # ── Step 4: build Linux and upload artifacts ────────────────────────────────── + release-linux: + needs: [check-version, release-windows] + if: needs.check-version.outputs.tag_exists == 'false' + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + + - name: Enable Corepack (yarn) + run: corepack enable + + - name: Install dependencies + run: yarn install --frozen-lockfile + + - name: Build Linux packages + run: yarn build:linux + env: + EP_DRAFT: true + + - name: Upload Linux artifacts to GitHub Release + uses: softprops/action-gh-release@v2 + with: + tag_name: v${{ needs.check-version.outputs.version }} + files: | + dist/*.AppImage + dist/*.deb + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index 417dc14..318bbb7 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,9 @@ ![License: GPL v2](https://img.shields.io/badge/License-GPL%20v2-blue.svg) [![GitHub downloads count total](https://img.shields.io/github/downloads/KidiXDev/stable-parser/total.svg?logo=github)](https://github.com/KidiXDev/stable-parser/releases) +![Windows](https://img.shields.io/badge/Windows-0078D6?logo=windows&logoColor=white) +![macOS](https://img.shields.io/badge/macOS-000000?logo=apple&logoColor=white) +![Linux](https://img.shields.io/badge/Linux-FCC624?logo=linux&logoColor=black) An Electron application for parsing and extracting metadata from AI-generated images, built with React and TypeScript. @@ -17,6 +20,16 @@ An Electron application for parsing and extracting metadata from AI-generated im - 📊 **Image Information**: View detailed image information including resolution, format and size. - 🎨 **Modern UI**: Clean, responsive interface. +## Download + +Pre-built binaries for Windows, macOS, and Linux are available on the [Releases](https://github.com/KidiXDev/stable-parser/releases) page. + +| Platform | Format | +|----------|--------| +| Windows | `.exe` installer (NSIS) | +| macOS | `.dmg` disk image | +| Linux | `.AppImage`, `.deb` | + ## Installation ### Prerequisites diff --git a/electron-builder.yml b/electron-builder.yml index b720792..577d784 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -34,7 +34,6 @@ dmg: linux: target: - AppImage - - snap - deb maintainer: electronjs.org category: Utility