diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6fc8d57..64d54de 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,8 +2,6 @@ name: Build/release on: push: - tags: - - 'v*' jobs: release: @@ -18,6 +16,9 @@ jobs: - os: macos-latest platform: darwin arch: universal + - os: ubuntu-latest + platform: linux + arch: x64 steps: - name: Check out Git repository @@ -62,7 +63,7 @@ jobs: # If the commit is tagged with a version (e.g. "v1.0.0"), # release the app after building - release: true #${{ startsWith(github.ref, 'refs/tags/v') }} + release: ${{ startsWith(github.ref, 'refs/tags/v') }} args: ${{ matrix.electron-arch-overrides }} env: # macOS notarization API key diff --git a/build/icon.png b/build/icon.png new file mode 100644 index 0000000..efe0617 Binary files /dev/null and b/build/icon.png differ diff --git a/electron-builder.yml b/electron-builder.yml index 9586e4a..337efef 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -69,8 +69,25 @@ msi: portable: artifactName: "${name}-Portable-${env.ARCH}-${version}.${ext}" +linux: + icon: "build/icon.png" + desktop: + StartupNotify: "false" + Encoding: "UTF-8" + MimeType: "x-scheme-handler/deeplink" + target: ["AppImage", "rpm", "deb"] + artifactName: "${productName}-Setup-${version}.${ext}" + +deb: + priority: "optional" + #afterInstall:"installer/linux/after-install.tpl", + +#rpm: + #fpm: ["--before-install", "installer/linux/before-install.tpl"], + #afterInstall:"installer/linux/after-install.tpl", + publish: provider: github repo: CCAe owner: ThePacielloGroup - releaseType: release \ No newline at end of file + releaseType: release