diff --git a/Cartfile.resolved b/Cartfile.resolved index 1adcfc2a8..e726204ec 100644 --- a/Cartfile.resolved +++ b/Cartfile.resolved @@ -1 +1 @@ -github "hguandl/PlayTools" "a93656743041d60d2d0a3f779a1c51f7f10ef1af" +github "hguandl/PlayTools" "f42ae25eee2cc8b477ff025c1879b92a4e60c860" diff --git a/PlayCover/Utils/PlayTools.swift b/PlayCover/Utils/PlayTools.swift index b119491f6..f3feda662 100644 --- a/PlayCover/Utils/PlayTools.swift +++ b/PlayCover/Utils/PlayTools.swift @@ -76,7 +76,7 @@ class PlayTools { try Macho.stripBinary(&binary) Inject.injectMachO(machoPath: exec.path, - cmdType: .LOAD_DYLIB, + cmdType: .loadDylib, backup: false, injectPath: playToolsPath.path, finishHandle: { result in @@ -118,7 +118,7 @@ class PlayTools { try Macho.stripBinary(&binary) Inject.injectMachO(machoPath: exec.path, - cmdType: .LOAD_DYLIB, + cmdType: .loadDylib, backup: false, injectPath: "@executable_path/Frameworks/PlayTools.dylib", finishHandle: { result in @@ -172,7 +172,7 @@ class PlayTools { static func removeFromApp(_ exec: URL) { Inject.removeMachO(machoPath: exec.path, - cmdType: .LOAD_DYLIB, + cmdType: .loadDylib, backup: false, injectPath: playToolsPath.path, finishHandle: { result in