Skip to content
This repository has been archived by the owner on Jul 23, 2022. It is now read-only.

Added protocol for AppImage build #554

Merged
merged 1 commit into from Sep 22, 2020
Merged

Conversation

cscharf
Copy link
Contributor

@cscharf cscharf commented Sep 21, 2020

Overview

Turns out that app. setAsDefaultProtocolClient() won't work for Linux, that instead you need electron-builder to put the custom protocol mimeType into the .desktop file for the AppImage. Added the necessary protocol configuration to the package.json file to accomplish this. Tested on Fedora 32.

see: electron-userland/electron-builder#4035 for background as well.

SHOULD resolve and close #551

@cscharf cscharf requested a review from a team September 21, 2020 22:16
@cscharf cscharf merged commit 3f3ba96 into master Sep 22, 2020
@cscharf cscharf deleted the fix/appimage-custom-protocol branch September 22, 2020 00:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to log in with SSO on Linux - browser does not redirect to application
2 participants