This repository was archived by the owner on Dec 29, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/main/java/id.my.alvinq.prokitid.libs Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -12,16 +12,17 @@ public static void onLoad(Context context) {
1212 new FileUtils (context );
1313 Intent intent = ((Activity ) context ).getIntent ();
1414 String mcPath = intent .getStringExtra ("MC_PATH" );
15- File libFile = new File (mcPath + "/ lib/arm64" );
15+ File libFile = new File (mcPath , " lib/arm64" );
1616 String libPath = libFile .getAbsolutePath ();
17- if (! libFile . exists ()) libFile .mkdirs ();
17+ libFile .mkdirs ();
1818 FileUtils .copyFile ("/storage/emulated/0/alvinqid/mods/mbloader.so" , libPath + "/mtbinloader2.so" );
1919
2020 File dataDir = context .getFilesDir ().getParentFile ();
2121 File externalDataDir = context .getExternalFilesDir (null ).getParentFile ();
2222
2323 FileUtils .copyFolder (dataDir .getAbsolutePath (), "/storage/emulated/0/alvinqid/apps/internal/data" );
2424 FileUtils .copyFolder (externalDataDir .getAbsolutePath (), "/storage/emulated/0/alvinqid/apps/external/data" );
25+ FileUtils .copyFolder ("/data/user/0/org.levimc.launcher/minecraft" , "/storage/emulated/0/alvinqid/minecraft" );
2526 System .loadLibrary ("mtbinloader2" );
2627 }
2728}
You can’t perform that action at this time.
0 commit comments