From af6fa75652a4246ea11337b2642613c7f7d2927d Mon Sep 17 00:00:00 2001 From: Ellie <64124388+ell1e@users.noreply.github.com> Date: Thu, 11 Jun 2026 16:29:45 +0200 Subject: [PATCH] Adjust script to 64bit ARM architecture in cases where it's unclear It should probably default to 64bit if dpkg isn't available for a better guess, since that's more commonly what people are going to be using. --- Bin/uconsole_keyboard_flash/maple_upload | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Bin/uconsole_keyboard_flash/maple_upload b/Bin/uconsole_keyboard_flash/maple_upload index a382d53..e77f45d 100755 --- a/Bin/uconsole_keyboard_flash/maple_upload +++ b/Bin/uconsole_keyboard_flash/maple_upload @@ -7,8 +7,9 @@ dpkg --version > /dev/null 2>&1 if [ "x$?" = x0 ]; then have_dpkg="yes" fi -dpkg_indicates_arm64="no" +dpkg_indicates_arm64="yes" if [ "$have_dpkg" = "yes" ]; then + dpkg_indicates_arm64="no" dpkg_arch_output="`dpkg --print architecture`" echo "$dpkg_arch_output" | grep -q "arm64" if [ "x$?" = x0 ]; then