mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
test flatpak
This commit is contained in:
parent
fa295a2bb4
commit
12309754fe
5
.github/workflows/build-helper.yml
vendored
5
.github/workflows/build-helper.yml
vendored
@ -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"
|
||||
|
@ -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,
|
||||
// },
|
||||
// },
|
||||
// },
|
||||
],
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user