[AltServer] Manages active/inactive profiles when installing apps

This commit is contained in:
Riley Testut
2020-03-11 13:51:39 -07:00
parent 5e25593c3d
commit 06fed802b1
5 changed files with 76 additions and 57 deletions

View File

@@ -262,11 +262,15 @@ public struct PrepareAppRequest: ServerMessageProtocol
public struct BeginInstallationRequest: ServerMessageProtocol
{
public var version = 1
public var version = 2
public var identifier = "BeginInstallationRequest"
public init()
// If activeProfiles is non-nil, then AltServer should remove all profiles except active ones.
public var activeProfiles: Set<String>?
public init(activeProfiles: Set<String>?)
{
self.activeProfiles = activeProfiles
}
}