Add linux makers

This commit is contained in:
Evan Simkowitz 2024-02-29 11:32:24 -08:00
parent 75be66bada
commit e860e330ab
No known key found for this signature in database
2 changed files with 14 additions and 5 deletions

View File

@ -49,6 +49,11 @@ jobs:
run: |
VERSION=$(node -e 'console.log(require("./version.js"))')
echo "WAVETERM_VERSION=${VERSION}" >> "$GITHUB_OUTPUT"
- id: install-rpm
if: matrix.platform == 'linux'
run: |
sudo apt-get update
sudo apt-get install rpm
- run: yarn --frozen-lockfile
- run: ./scripthaus/scripthaus run ${{ matrix.scripthaus }}
- uses: actions/upload-artifact@v4

View File

@ -47,11 +47,7 @@ function ignoreFn(path) {
module.exports = {
packagerConfig: {
ignore: ignoreFn,
files: [
"package.json",
"dist/*",
"public/*",
],
files: ["package.json", "dist/*", "public/*"],
icon: "public/waveterm.icns",
},
rebuildConfig: {},
@ -60,5 +56,13 @@ module.exports = {
name: "@electron-forge/maker-zip",
platforms: ["darwin", "linux"],
},
{
name: "@electron-forge/maker-deb",
config: {},
},
{
name: "@electron-forge/maker-rpm",
config: {},
},
],
};