Skip to content

Commit

Permalink
Fix Regression
Browse files Browse the repository at this point in the history
  • Loading branch information
KreitinnSoftware committed Feb 6, 2025
1 parent 225c133 commit 4533171
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/src/main/java/com/micewine/emu/core/RatPackageManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ object RatPackageManager {
ratPackage.ratFile.use { ratFile ->
ratFile.isRunInThread = true

extractDir = "$ratPackagesDir/${ratPackage.category}-${java.util.UUID.randomUUID()}"
File(extractDir!!).mkdirs()
if (ratPackage.category != "rootfs") {
extractDir = "$ratPackagesDir/${ratPackage.category}-${java.util.UUID.randomUUID()}"
File(extractDir!!).mkdirs()
}

ratFile.extractAll(extractDir)

Expand Down

0 comments on commit 4533171

Please sign in to comment.