|
|
|
@ -113,7 +113,7 @@ public class MainActivity extends AppCompatActivity {
|
|
|
|
|
|
|
|
|
|
if (!MicroPhotoContext.hasMpAppConfig(appContext)) {
|
|
|
|
|
|
|
|
|
|
String mstPath = MicroPhotoContext.buildMasterAppDir(appContext);
|
|
|
|
|
String mstPath = MicroPhotoContext.buildMpResAppDir(appContext);
|
|
|
|
|
File mstPathFile = new File(mstPath);
|
|
|
|
|
File mpdataFile = new File(mstPathFile, "mpdata");
|
|
|
|
|
|
|
|
|
@ -133,6 +133,11 @@ public class MainActivity extends AppCompatActivity {
|
|
|
|
|
ex.printStackTrace();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
Intent resIntent = getPackageManager().getLaunchIntentForPackage(MicroPhotoContext.PACKAGE_NAME_MPRES);
|
|
|
|
|
resIntent.putExtra("initres", 1);
|
|
|
|
|
startActivity(resIntent);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Intent intent = getIntent();
|
|
|
|
|