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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user