mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
[Windows] Fix broken apksigner detection.
(cherry picked from commit 2c991a727b)
This commit is contained in:
parent
f757cc9a70
commit
6b7f36e2a9
1 changed files with 5 additions and 0 deletions
|
|
@ -2272,6 +2272,11 @@ String EditorExportPlatformAndroid::get_apksigner_path(int p_target_sdk, bool p_
|
|||
bool failed = false;
|
||||
String version_to_use;
|
||||
|
||||
String java_sdk_path = EDITOR_GET("export/android/java_sdk_path");
|
||||
if (!java_sdk_path.is_empty()) {
|
||||
OS::get_singleton()->set_environment("JAVA_HOME", java_sdk_path);
|
||||
}
|
||||
|
||||
List<String> args;
|
||||
args.push_back("--version");
|
||||
String output;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue