From e72c8e089563346115fad7e56d4ee78c0e50b0d1 Mon Sep 17 00:00:00 2001 From: Riley Testut Date: Tue, 7 Sep 2021 11:44:03 -0700 Subject: [PATCH] Updates EnableUnsignedCodeExecutionRequest to match https://github.com/rileytestut/AltStore/commit/e4b0b153e5027908a9fe65d3576b1699f48eeb0c --- Sources/AltKit/Server/ServerProtocol.swift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Sources/AltKit/Server/ServerProtocol.swift b/Sources/AltKit/Server/ServerProtocol.swift index 43e6440..0432227 100644 --- a/Sources/AltKit/Server/ServerProtocol.swift +++ b/Sources/AltKit/Server/ServerProtocol.swift @@ -143,12 +143,14 @@ public struct EnableUnsignedCodeExecutionRequest: ServerMessageProtocol public var identifier = "EnableUnsignedCodeExecutionRequest" public var udid: String - public var processID: Int32 + public var processID: Int32? + public var processName: String? - public init(udid: String, processID: Int32) + public init(udid: String, processID: Int32? = nil, processName: String? = nil) { self.udid = udid self.processID = processID + self.processName = processName } }