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: | run: |
VERSION=$(node -e 'console.log(require("./version.js"))') VERSION=$(node -e 'console.log(require("./version.js"))')
echo "WAVETERM_VERSION=${VERSION}" >> "$GITHUB_OUTPUT" 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: yarn --frozen-lockfile
- run: ./scripthaus/scripthaus run ${{ matrix.scripthaus }} - run: ./scripthaus/scripthaus run ${{ matrix.scripthaus }}
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4

View File

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