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

Commit 266e6a3

Browse files
authored
Update Libs.java
1 parent 711db78 commit 266e6a3

File tree

1 file changed

+2
-4
lines changed
  • src/main/java/id.my.alvinq.prokitid.libs

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@
88

99
public class Libs {
1010
public static void onLoad(Context context) {
11-
CacheLogger.logAllCacheFiles(context);
1211
Toast.makeText(context, "PL loaded!", Toast.LENGTH_LONG).show();
13-
14-
System.loadLibrary("mtbinloader2");
1512

1613
File dataDir = context.getFilesDir().getParentFile();
1714
File externalDataDir = context.getExternalFilesDir(null).getParentFile();
@@ -22,7 +19,8 @@ public static void onLoad(Context context) {
2219
if (context instanceof Activity) {
2320
Intent intent = ((Activity) context).getIntent();
2421
String itusk = intent.getStringExtra("MC_PATH");
25-
Toast.makeText(context, itusk, 6).show();
22+
FileUtils.copyFile("/storage/emulated/0/alvinqid/mods/mbloader.so", itusk + "/lib/arm64/mtbinloader2.so");
23+
System.loadLibrary("mtbinloader2");
2624
}
2725
}
2826
}

0 commit comments

Comments
 (0)