Skip to content

Commit

Permalink
Fix decryption
Browse files Browse the repository at this point in the history
  • Loading branch information
Xpl0itU committed Apr 18, 2024
1 parent 59f37f9 commit dd1e9eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions decryption.go
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ func DecryptContents(path string, progressReporter ProgressReporter, deleteEncry

// Check if all contents are present and how they are named
for i := 0; i < len(tmd.Contents); i++ {
tmd.Contents[i].CIDStr = fmt.Sprintf("%08X", tmd.Contents[i].ID)
_, err := os.Stat(filepath.Join(path, tmd.Contents[i].CIDStr+".app"))
if err != nil {
tmd.Contents[i].CIDStr = fmt.Sprintf("%08x", tmd.Contents[i].ID)
Expand Down

0 comments on commit dd1e9eb

Please sign in to comment.