Skip to content

Commit 3700b3a

Browse files
authored
Merge pull request #30 from Halo-Michael/main
Update dump.swift
2 parents ba71eb2 + c2b979a commit 3700b3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/appdecrypt/dump.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class Dump {
115115
for (i, sourcePath) in needDumpFilePaths.enumerated() {
116116
let targetPath = dumpedFilePaths[i]
117117
// Please see https://github.com/NyaMisty/fouldecrypt/issues/15#issuecomment-1722561492
118-
let handle = dlopen(targetPath, RTLD_LAZY | RTLD_GLOBAL)
118+
let handle = dlopen(sourcePath, RTLD_LAZY | RTLD_GLOBAL)
119119
Dump.mapFile(path: sourcePath, mutable: false) { base_size, base_descriptor, base_error, base_raw in
120120
if let base = base_raw {
121121
Dump.mapFile(path: targetPath, mutable: true) { dupe_size, dupe_descriptor, dupe_error, dupe_raw in

0 commit comments

Comments
 (0)