Remove launcher check

This commit is contained in:
Simon 2024-12-22 21:28:47 +00:00
parent 93b11ab259
commit fa99b11b0c

View file

@ -243,9 +243,9 @@ import java.util.Locale;
//to allow the launcher app to do its thing, otherwise it would crash anyway
//Check that launcher is installed too
boolean hasIWADs = ((new File("/sdcard/QuestZDoom/wads").listFiles().length) > 0);
boolean hasLauncher = //(new File("/sdcard/QuestZDoom/no_launcher").exists()) || //Allow users to run without launcher if they _really_ want to
isPackageInstalled("com.Baggyg.QuestZDoom_Launcher", this.getPackageManager());
mNativeHandle = GLES3JNILib.onCreate( this, commandLineParams, hasIWADs, hasLauncher );
//boolean hasLauncher = //(new File("/sdcard/QuestZDoom/no_launcher").exists()) || //Allow users to run without launcher if they _really_ want to
// isPackageInstalled("com.Baggyg.QuestZDoom_Launcher", this.getPackageManager());
mNativeHandle = GLES3JNILib.onCreate( this, commandLineParams, hasIWADs, true );
}
public void copy_asset(String path, String name, boolean force) {