build: add AppImage build (#3401)

This commit is contained in:
Peng Xiao
2023-07-27 05:38:01 +00:00
committed by GitHub
parent ba53c74130
commit 4e7824583d
5 changed files with 47 additions and 1 deletions

View File

@@ -101,6 +101,18 @@ module.exports = {
loadingGif: './resources/icons/affine_installing.gif',
},
},
{
name: '@reforged/maker-appimage',
config: {
name: 'AFFiNE',
iconUrl: icoPath,
setupIcon: icoPath,
platforms: ['linux'],
options: {
bin: productName,
},
},
},
],
hooks: {
readPackageJson: async (_, packageJson) => {

View File

@@ -39,6 +39,7 @@
"@electron-forge/maker-zip": "^6.2.1",
"@electron-forge/shared-types": "^6.2.1",
"@electron/remote": "2.0.10",
"@reforged/maker-appimage": "^3.3.1",
"@toeverything/infra": "workspace:*",
"@types/fs-extra": "^11.0.1",
"@types/uuid": "^9.0.2",