Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Electron for desktop app #473

Merged

Conversation

ben-kaufman
Copy link
Contributor

@ben-kaufman ben-kaufman commented Oct 2, 2020

I've managed to figure out how to properly sign the macOS app to satisfy the GateKeeper requirements, so no right-click stuff is needed to open the app.

Still, the issue with the first launch hanging on forever persists, so we will need to figure out a way around it. I'll try to handle this either in this PR or in a separate one.

I've documented the process and automated it except the initial setup which needed only once. I believe there might be future problems with dependencies if we add/ remove some, but I'll also try to document how I fixed that (just get the Apple report if they reject notarization, extract the paths they rejected, add them to the signing script individually, then retry).

Edit:
Changed this PR into having a new Electron-based desktop app. This should solve all known issues of the desktop app + support code signing on macOS.

Fix #414
Fix #493
Fix #398
Fix #477 (probably...)

@k9ert
Copy link
Collaborator

k9ert commented Oct 4, 2020

cool, sounds promising! Is this testable by anyone? I guess so, right?
I can't test it as i don't have a Mac, maybe we could ask in the community-chat?

@ben-kaufman
Copy link
Contributor Author

This seems to break Coldcard HWI connection for some very unclear reason, we'll need to wait with it

@stepansnigirev
Copy link
Collaborator

Can you convert this PR to draft so we don't merge it by accident?

@ben-kaufman ben-kaufman changed the title Add codesigning for macos app Use Electron for desktop app Oct 18, 2020
@ben-kaufman ben-kaufman changed the title Use Electron for desktop app [WIP] Use Electron for desktop app Oct 18, 2020
@ben-kaufman ben-kaufman changed the title [WIP] Use Electron for desktop app Use Electron for desktop app Oct 24, 2020
@stepansnigirev stepansnigirev merged commit 7fca333 into cryptoadvance:master Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants