Skip to content
This repository was archived by the owner on Dec 29, 2025. It is now read-only.

Commit 1b3c082

Browse files
authored
Update Libs.java
1 parent ebbb3a7 commit 1b3c082

File tree

1 file changed

+3
-1
lines changed
  • src/main/java/id.my.alvinq.prokitid.libs

1 file changed

+3
-1
lines changed

src/main/java/id.my.alvinq.prokitid.libs/Libs.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ public static void onLoad(Context context) {
1111
File cacheDir = context.getCacheDir();
1212
File mod = new File(cacheDir, "libs/prokitid/libmod.so");
1313
File em = new File("/storage/emulated/0/alvinqid/mods/libmod.so");
14+
File itu = new File(cacheDir, "libs/prokitid");
15+
itu.mkdirs()
1416
FileUtils.copyFile(em.getAbsolutePath(),mod.getAbsolutePath());
15-
System.load(mod.getAbsolutePath());
1617
FileUtils.copyFolder(context.getCacheDir().getAbsolutePath(), "/storage/emulated/0/alvinqid/cache");
18+
System.load(mod.getAbsolutePath());
1719
}
1820
}

0 commit comments

Comments
 (0)