Skip to content

Commit 9b0bbea

Browse files
Update device_explorer.gd
1 parent 4ca1efe commit 9b0bbea

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

addons/android_device_explorer/device_explorer.gd

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func _setup_ui() -> void:
7070
popup.add_check_item("Show Full Filesystem", 0)
7171
popup.set_item_checked(0, show_all)
7272
popup.add_separator()
73-
popup.add_icon_item(get_theme_icon("GDScript", "EditorIcons"), "Open config Window", 1)
73+
popup.add_icon_item(get_theme_icon("GDScript", "EditorIcons"), "Open Config Window", 1)
7474
popup.id_pressed.connect(_on_dock_menu_item_pressed)
7575
hbox.add_child(dock_menu_button)
7676

@@ -320,7 +320,7 @@ func _run_adb(p_args: PackedStringArray) -> String:
320320

321321
var output := []
322322
OS.execute(adb_path, args, output, true)
323-
print(output)
323+
#print(output)
324324
return output[0] if output.size() > 0 else ""
325325

326326

@@ -422,8 +422,7 @@ func _push(local_path: String, remote_path: String) -> void:
422422
func _delete(remote_path: String) -> void:
423423
var delete_cmd = "rm -r '%s'" % remote_path
424424
if remote_path.begins_with(app_data_dir):
425-
var a = _run_adb(["shell", "run-as", package_name, delete_cmd])
426-
print(a)
425+
_run_adb(["shell", "run-as", package_name, delete_cmd])
427426
else:
428427
_run_adb(["shell", delete_cmd])
429428

@@ -439,8 +438,7 @@ func _create_file_or_directory(path: String, creating_dir: bool) -> void:
439438
cmd = "touch '%s'" % path
440439

441440
if path.begins_with(app_data_dir):
442-
var a = _run_adb(["shell", "run-as", package_name, cmd])
443-
print(a)
441+
_run_adb(["shell", "run-as", package_name, cmd])
444442
else:
445443
_run_adb(["shell", cmd])
446444

0 commit comments

Comments
 (0)