-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add wrapper scripts for adb and jarsigner
This enables spawning host processes via flatpak-spawn by creating wrapper scripts in /app/bin and changes the default editor preference paths to the correct values. Both utilities must be installed on the host and be accessible via PATH environment variable. Closes #15 Closes godotengine/godot-website#60 http://docs.flatpak.org/en/latest/flatpak-command-reference.html#flatpak-spawn
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp | ||
index e489bce3f..ed01ff928 100644 | ||
--- a/platform/android/export/export.cpp | ||
+++ b/platform/android/export/export.cpp | ||
@@ -1970,9 +1970,9 @@ void register_android_exporter() { | ||
exe_ext = "*.exe"; | ||
} | ||
|
||
- EDITOR_DEF("export/android/adb", ""); | ||
+ EDITOR_DEF("export/android/adb", "/app/bin/adb"); | ||
EditorSettings::get_singleton()->add_property_hint(PropertyInfo(Variant::STRING, "export/android/adb", PROPERTY_HINT_GLOBAL_FILE, exe_ext)); | ||
- EDITOR_DEF("export/android/jarsigner", ""); | ||
+ EDITOR_DEF("export/android/jarsigner", "/app/bin/jarsigner"); | ||
EditorSettings::get_singleton()->add_property_hint(PropertyInfo(Variant::STRING, "export/android/jarsigner", PROPERTY_HINT_GLOBAL_FILE, exe_ext)); | ||
EDITOR_DEF("export/android/debug_keystore", ""); | ||
EditorSettings::get_singleton()->add_property_hint(PropertyInfo(Variant::STRING, "export/android/debug_keystore", PROPERTY_HINT_GLOBAL_FILE, "*.keystore")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters