Skip to content

Commit 891b47c

Browse files
committed
debug more
1 parent 3885acf commit 891b47c

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

lara/views/tweaks/DecryptView.swift

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,22 @@ struct DecryptView: View {
255255
let payloadAppPath = payloadDir + "/" + appName
256256
let ipaPath = documentspath + "/Decrypted/" + ipaName
257257

258+
// test?
259+
let frameworksPath = destAppPath + "/Frameworks"
260+
if fm.fileExists(atPath: frameworksPath) {
261+
let contents: [String]?
262+
do {
263+
contents = try fm.contentsOfDirectory(atPath: frameworksPath)
264+
} catch {
265+
DispatchQueue.main.async {
266+
decryptingbid = nil
267+
errormsg = "Failed to list frameworks: \(error.localizedDescription)"
268+
laramgr.shared.logmsg("(decrypt) failed to list frameworks: \(error.localizedDescription)")
269+
}
270+
return
271+
}
272+
}
273+
258274
laramgr.shared.logmsg("(decrypt) decrypting \(app.bundleid)...")
259275

260276
DispatchQueue.global(qos: .userInitiated).async {

0 commit comments

Comments
 (0)