File tree Expand file tree Collapse file tree
addons/android_device_explorer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,6 +41,11 @@ func _setup_ui() -> void:
4141 devices_btn .item_selected .connect (_on_device_selected )
4242 hbox .add_child (devices_btn )
4343
44+ var reload_btn = Button .new ()
45+ reload_btn .icon = get_theme_icon ("Reload" , "EditorIcons" )
46+ reload_btn .pressed .connect (_load_root )
47+ hbox .add_child (reload_btn )
48+
4449 menu_button = MenuButton .new ()
4550 menu_button .icon = get_theme_icon ("GuiTabMenuHl" , "EditorIcons" )
4651 var popup := menu_button .get_popup ()
@@ -177,6 +182,8 @@ func _on_menu_item_pressed(id: int) -> void:
177182 _load_root ()
178183
179184
185+ # ADB Handling--------------------------------------------------------------------------------------
186+
180187func _run_adb (p_args : PackedStringArray ) -> String :
181188 var args : PackedStringArray = []
182189 if current_device != "" :
@@ -217,6 +224,8 @@ func _list_dir(path: String) -> Array:
217224 return files
218225
219226
227+ # ---------------------------------------------------------------------------------------------------
228+
220229func _get_icon_for_ext (path : String ) -> String :
221230 var ext := path .get_extension ().to_lower ()
222231 match ext :
You can’t perform that action at this time.
0 commit comments