You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Automatically generate the Android debug keystore
Automatically generate the Android debug keystore when the Java SDK path is specified.
This commit is contained in:
@@ -60,6 +60,9 @@ const String ENV_ANDROID_KEYSTORE_RELEASE_PATH = "GODOT_ANDROID_KEYSTORE_RELEASE
|
||||
const String ENV_ANDROID_KEYSTORE_RELEASE_USER = "GODOT_ANDROID_KEYSTORE_RELEASE_USER";
|
||||
const String ENV_ANDROID_KEYSTORE_RELEASE_PASS = "GODOT_ANDROID_KEYSTORE_RELEASE_PASSWORD";
|
||||
|
||||
const String DEFAULT_ANDROID_KEYSTORE_DEBUG_USER = "androiddebugkey";
|
||||
const String DEFAULT_ANDROID_KEYSTORE_DEBUG_PASSWORD = "android";
|
||||
|
||||
struct LauncherIcon {
|
||||
const char *export_path;
|
||||
int dimensions = 0;
|
||||
@@ -186,6 +189,8 @@ class EditorExportPlatformAndroid : public EditorExportPlatform {
|
||||
const Ref<Image> &foreground,
|
||||
const Ref<Image> &background);
|
||||
|
||||
static void _create_editor_debug_keystore_if_needed();
|
||||
|
||||
static Vector<ABI> get_enabled_abis(const Ref<EditorExportPreset> &p_preset);
|
||||
|
||||
static bool _uses_vulkan();
|
||||
@@ -234,6 +239,8 @@ public:
|
||||
|
||||
static String get_java_path();
|
||||
|
||||
static String get_keytool_path();
|
||||
|
||||
virtual bool has_valid_export_configuration(const Ref<EditorExportPreset> &p_preset, String &r_error, bool &r_missing_templates, bool p_debug = false) const override;
|
||||
virtual bool has_valid_project_configuration(const Ref<EditorExportPreset> &p_preset, String &r_error) const override;
|
||||
static bool has_valid_username_and_password(const Ref<EditorExportPreset> &p_preset, String &r_error);
|
||||
|
||||
Reference in New Issue
Block a user