mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix(electron): linux login issues (#5821)
Looks like there are some issues using `@reforged/maker-appimage`: - deep link not working properly (cannot login) - cannot be installed via AppImageLauncher, which is required to enable deep link on linux I forked saleae/electron-forge-maker-appimage into https://github.com/toeverything/electron-forge-maker-appimage to fix these issues See changes: https://github.com/saleae/electron-forge-maker-appimage/compare/master...toeverything:electron-forge-maker-appimage:master?w=1 To enable login on Linux, the app must be installed via AppImageLauncher.  fix https://github.com/toeverything/AFFiNE/issues/4978 fix https://github.com/toeverything/AFFiNE/issues/4466
This commit is contained in:
@@ -9,7 +9,6 @@ import {
|
||||
arch,
|
||||
buildType,
|
||||
icnsPath,
|
||||
iconPngPath,
|
||||
iconUrl,
|
||||
icoPath,
|
||||
platform,
|
||||
@@ -76,15 +75,8 @@ const makers = [
|
||||
},
|
||||
},
|
||||
!process.env.SKIP_BUNDLE && {
|
||||
name: '@reforged/maker-appimage',
|
||||
config: {
|
||||
name: 'AFFiNE',
|
||||
icon: iconPngPath,
|
||||
platforms: ['linux'],
|
||||
options: {
|
||||
bin: productName,
|
||||
},
|
||||
},
|
||||
name: '@pengx17/electron-forge-maker-appimage',
|
||||
platforms: ['linux'],
|
||||
},
|
||||
].filter(Boolean);
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
"@electron-forge/maker-zip": "^7.2.0",
|
||||
"@electron-forge/plugin-auto-unpack-natives": "^7.2.0",
|
||||
"@electron-forge/shared-types": "^7.2.0",
|
||||
"@reforged/maker-appimage": "^3.3.1",
|
||||
"@pengx17/electron-forge-maker-appimage": "^1.0.1",
|
||||
"@toeverything/infra": "workspace:*",
|
||||
"@types/uuid": "^9.0.7",
|
||||
"builder-util-runtime": "^9.2.3",
|
||||
|
||||
Reference in New Issue
Block a user