mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-23 16:58:27 +01:00
Add linux makers
This commit is contained in:
parent
75be66bada
commit
e860e330ab
5
.github/workflows/build-helper.yml
vendored
5
.github/workflows/build-helper.yml
vendored
@ -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
|
||||||
|
@ -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: {},
|
||||||
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user