Skip to content

Commit

Permalink
fix: added workflow commands to release file and upped flatpak versions
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Parcet <[email protected]>
  • Loading branch information
alexpargon committed Sep 5, 2024
1 parent b5f0322 commit 1b7d163
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 23 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ jobs:
node-version: 20.13.1
- run: npm install -g yarn
- if: runner.os == 'Linux'
run: sudo apt update && sudo apt install libudev-dev
run: |
sudo apt update && sudo apt install libudev-dev flatpak flatpak-builder elfutils
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- name: Cache node_modules
id: cache-node-modules
uses: actions/cache@v3
Expand Down
46 changes: 24 additions & 22 deletions forge.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { ForgeConfig, ForgePackagerOptions } from "@electron-forge/shared-types";
import { MakerSquirrel } from "@electron-forge/maker-squirrel";
import { MakerZIP } from "@electron-forge/maker-zip";
import { MakerFlatpak } from "@electron-forge/maker-flatpak"
import { MakerFlatpak } from "@electron-forge/maker-flatpak";
import { WebpackPlugin } from "@electron-forge/plugin-webpack";
import fs from "fs";
import path from "path";
Expand Down Expand Up @@ -65,27 +65,29 @@ const config: ForgeConfig = {
},
},
},
new MakerFlatpak({ options: {
id: "io.github.Dygmalab.Bazecor",
genericName: "Graphical configurator for Dygma products",
categories: ["Utility"],
runtimeVersion: "21.08",
baseVersion: "21.08",
files: [],
modules: [
{
name: "zypak",
sources: [
{
type: "git",
url: "https://github.com/refi64/zypak",
tag: "v2022.04"
}
]
}
],
icon: `./build/logo.png`
}})
new MakerFlatpak({
options: {
id: "io.github.Dygmalab.Bazecor",
genericName: "Graphical configurator for Dygma products",
categories: ["Utility"],
runtimeVersion: "23.08",
baseVersion: "23.08",
files: [],
modules: [
{
name: "zypak",
sources: [
{
type: "git",
url: "https://github.com/refi64/zypak",
tag: "v2024.01.17",
},
],
},
],
icon: `/build/logo.png`,
},
}),
],
plugins: [
new WebpackPlugin({
Expand Down

0 comments on commit 1b7d163

Please sign in to comment.