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.

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/28dcaadb-49d1-4c95-8a4f-ef41bef604be.png)

fix https://github.com/toeverything/AFFiNE/issues/4978
fix https://github.com/toeverything/AFFiNE/issues/4466
This commit is contained in:
Peng Xiao
2024-02-19 14:24:59 +00:00
parent 28ee66173e
commit 20f7473e20
3 changed files with 239 additions and 81 deletions
+1 -1
View File
@@ -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",