Files
SideStore/AltKit/Bundle+AltStore.swift
Riley Testut 84f564452b [AltStore] Adds ALTAppGroup Info.plist entry for apps in app groups
This allows the apps to query at runtime what app groups they should actually use due to bundle identifiers changing.
2019-06-25 14:26:09 -07:00

29 lines
560 B
Swift

//
// Bundle+AltStore.swift
// AltStore
//
// Created by Riley Testut on 5/30/19.
// Copyright © 2019 Riley Testut. All rights reserved.
//
import Foundation
public extension Bundle
{
struct Info
{
public static let deviceID = "ALTDeviceID"
public static let appGroups = "ALTAppGroups"
public static let urlTypes = "CFBundleURLTypes"
}
}
public extension Bundle
{
var infoPlistURL: URL {
let infoPlistURL = self.bundleURL.appendingPathComponent("Info.plist")
return infoPlistURL
}
}