-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
LSOpenURLsWithRole error after changing the executable name (Gatekeeper issue) #323
Comments
I don't know how this should be resolved. There were a fair number of users who wanted #195 resolved, so I'm not currently inclined to revert it. |
Yeah it's a good fix to have, and I don't think it's worth reverting either. It's kind of a gnarly thing to diagnose so wanted to people to be aware of the potential issue. |
I ran into this, and found that the error went away if I dragged the old version of the app to the trash (via the Finder) before installing the new version. (I don't know if this works for everybody.) |
OK, since there's nothing to do on this end, I'm going to close the issue (and hope that users who have this issue can search for it). |
Prevents issues with Gatekeeper bug, see electron/packager#323
So, we also figured out adding a symlink in Contents/MacOS is a possible workaround too.. We didn't want to break all our users on upgrade so we have for example: /Applications/AppName.app/Contents/MacOS/Electron symlinked to /Applications/AppName.app/Contents/MacOS/AppName and it seems to be ok... I don't know if it's worth patching the packager here to do the same, but it might prevent some headaches for people in the future. |
If anyone wants to implement this, keep in mind that you likely can't create symlinks on Windows. |
Prevents issues with Gatekeeper bug, see electron/packager#323
Prevents issues with Gatekeeper bug, see electron/packager#323
Yeah this would be a mac only thing |
|
* INT-1836 👔 Code cleanup and ⬆️ [email protected] * INT-1836 🍎 Symlink `Electron` to `${productName}` Or else OS X gatekeeper will refuse to install new versions if the app is already installed. @see electron/packager#323 (comment) omment-209026064 * INT-1836 Add initial `release` command functional tests * 💚 Skip release tests on travis for now * 👕 * 💚 * 💚 * ⚡ node@6 * 💚 * 💚
Changing the executable name in an app bundle can cause a Gatekeeper failure. This change was made
aaeee76 which changes the executable name (in Contents/MacOS) from Electron to the app name.
This is due to a bug in Gatekeeper it seems: http://www.openradar.me/23614087
This happens when upgrading from <= 0.37.2 to 0.37.3 on OS X.
The text was updated successfully, but these errors were encountered: