-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Build dmg and MAS with different CFBundleIdentifier #7570
Comments
I think you can set |
Hi @mmaietta , thank you for the answer. As far as I understood, the CFBundleIdentifier is the key used by electron-updater to locate the bundle that is eligible to update. The |
Whoops, my bad, I misread. In that case, I think you should be able to specify |
Unfortunately, specifying |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stalled for 30 days with no activity. |
Hi there! I have an app that is currently just distributed by .dmg files. I use the electron-update to provide updates for the users.
Now we want to publish the app in the App Store, for doing so the CFBundleIdentifer must match with the one already registered in the App Store. The problem is that we have been releasing the app with a different appId.
Just changing the appId to the new one will break the update for the installed .dmg.
My idea is to keep keep building the dmg using the old id and build the MAS using the "new" id.
I have tried doing that by change my build configuration, either by using
extendInfo
in themas
key and add the keyCFBundleIdentifier
with the new id, what makes the .pkg file being able to upload by transporter, but making dmg impossible to update since it also changes the Info.plist of the .zip. Or tried to put theCFBundleIdentifier
key directly in theentitlements.mas.plist
file, which had no effect :/.Here is part of my json file with build configuration:
Is there a way to achieve this? Keep the old CFBundleIdentifier in the .zip file and use the new id only for the MAS (.pkg)?
The text was updated successfully, but these errors were encountered: