mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
This allows the apps to query at runtime what app groups they should actually use due to bundle identifiers changing.
29 lines
560 B
Swift
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
|
|
}
|
|
}
|