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

Signed applications are "invalid" on macOS #7

Closed
MarshallOfSound opened this issue Dec 9, 2016 · 4 comments
Closed

Signed applications are "invalid" on macOS #7

MarshallOfSound opened this issue Dec 9, 2016 · 4 comments
Labels

Comments

@MarshallOfSound
Copy link
Member

Traced this to be due to the packager signing and then we modify the ASAR file. Should extract the signing config and sign ourselves.

/cc @malept

@malept
Copy link
Member

malept commented Dec 9, 2016

I think a better way is to use a packager hook (one that exists or make a new one) to run electron-compile, and then have Electron Packager run as normal. Is that feasible?

@malept malept added the bug label Dec 9, 2016
@MarshallOfSound
Copy link
Member Author

@malept The issue is the ASAR file AFAIK. The problem is we must compile in the packaged folder (or we will generate a cache in the development directory). So if we need to generate a cache and the user has generated an ASAR then we can't generate a cache.

So we remove the ASAR request and do it manually afterwords.

@malept
Copy link
Member

malept commented Dec 9, 2016

Sorry if I'm being rather dense about this, but it's not clear to me why the electron-compile step can't work similarly to your proposed electron-rebuild hook.

@MarshallOfSound
Copy link
Member Author

@malept Hahahahahaha, how did I miss that 😆

It can almost certainly be done there 👍

MarshallOfSound added a commit that referenced this issue Dec 9, 2016
MarshallOfSound added a commit that referenced this issue Dec 10, 2016
MarshallOfSound added a commit that referenced this issue Dec 10, 2016
dsanders11 pushed a commit that referenced this issue Jan 14, 2023
Add TypeScript definitions for Electron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants