Skip to content

Commit

Permalink
Update MaaTools
Browse files Browse the repository at this point in the history
  • Loading branch information
hguandl committed Apr 3, 2023
1 parent 9db495f commit 4f8ab1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "hguandl/PlayTools" "a93656743041d60d2d0a3f779a1c51f7f10ef1af"
github "hguandl/PlayTools" "f42ae25eee2cc8b477ff025c1879b92a4e60c860"
6 changes: 3 additions & 3 deletions PlayCover/Utils/PlayTools.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4f8ab1c

Please sign in to comment.