From d1142eb57a2cc74035b1ad48013d71b4f0342a8f Mon Sep 17 00:00:00 2001 From: Sergey Lapin Date: Tue, 28 May 2024 19:10:53 +0300 Subject: [PATCH] Use architecture for debugger --- run-editor.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run-editor.sh b/run-editor.sh index 93e0b2d..43487d2 100755 --- a/run-editor.sh +++ b/run-editor.sh @@ -1,4 +1,5 @@ #!/bin/sh +ARCH=$(uname -i|sed -e 's/aarch64/arm64/g') cd godot -gdb --args ../src/godot/bin/godot.x11.opt.tools.64 --verbose -e $* +gdb --args ../src/godot/bin/godot.x11.opt.tools.${ARCH} --verbose -e $*