[AltServer] Include ALTDeviceID on install of apps (#822)

* Add ALTDeviceID to plist file on install
* Only add if deviceid key is present

Co-authored-by: Cameron Bates <cameronbates@camerons-mbp-2.lan>
This commit is contained in:
Cameron Bates
2021-09-13 17:11:53 -04:00
committed by GitHub
parent 9c72b7ae8f
commit 0570f2cd5b

View File

@@ -761,6 +761,10 @@ To prevent this from happening, feel free to try again with another Apple ID.
infoDictionary[kCFBundleIdentifierKey as String] = profile.bundleIdentifier infoDictionary[kCFBundleIdentifierKey as String] = profile.bundleIdentifier
infoDictionary[Bundle.Info.altBundleID] = identifier infoDictionary[Bundle.Info.altBundleID] = identifier
if (infoDictionary.keys.contains(Bundle.Info.deviceID)) {
infoDictionary[Bundle.Info.deviceID] = device.identifier
}
for (key, value) in additionalInfoDictionaryValues for (key, value) in additionalInfoDictionaryValues
{ {