test flatpak

This commit is contained in:
Evan Simkowitz 2024-02-29 12:23:44 -08:00
parent fa295a2bb4
commit 12309754fe
No known key found for this signature in database
2 changed files with 23 additions and 8 deletions

View File

@ -60,13 +60,10 @@ jobs:
run: yarn --frozen-lockfile
- name: Build
run: ./scripthaus/scripthaus run ${{ matrix.scripthaus }}
- name: Tree
if: matrix.platform == 'linux'
run: tree out/make
- uses: actions/upload-artifact@v4
with:
name: waveterm-build-${{ matrix.platform }}-${{ matrix.arch }}
path: out/make/zip/${{ matrix.platform }}/${{ matrix.arch }}/*.zip
path: out/make/**/*
retention-days: 2
upload:
name: "Upload Builds"

View File

@ -1,3 +1,4 @@
const pkg = require("./package.json");
let AllowedFirstParts = {
"package.json": true,
dist: true,
@ -44,8 +45,6 @@ function ignoreFn(path) {
return false;
}
const appName = "Wave";
module.exports = {
packagerConfig: {
ignore: ignoreFn,
@ -62,7 +61,7 @@ module.exports = {
name: "@electron-forge/maker-deb",
config: {
options: {
bin: appName,
bin: pkg.productName,
},
},
},
@ -70,9 +69,28 @@ module.exports = {
name: "@electron-forge/maker-rpm",
config: {
options: {
bin: appName,
bin: pkg.productName,
},
},
},
{
name: "@electron-forge/maker-flatpak",
config: {
options: {
bin: pkg.productName,
mimeType: ["text/plain"],
},
},
},
// {
// name: "@electron-forge/maker-snap",
// config: {
// features: {
// audio: true,
// mpris: "com.commandline.waveterm",
// webgl: true,
// },
// },
// },
],
};