Skip to content

A live bird collage card for your Home Assistant dashboard.

allow x86_64 for development purposes

frederike3b8cd134a06
diff --git a/newinstaller.sh b/newinstaller.sh
index e7db8c2d..fb0cac89 100755
--- a/newinstaller.sh
+++ b/newinstaller.sh
@@ -5,12 +5,10 @@ if [ "$EUID" == 0 ]
exit
fi
-if [ "$(uname -m)" != "aarch64" ];then
+if [ "$(uname -m)" != "aarch64" ] && [ "$(uname -m)" != "x86_64" ];then
echo "BirdNET-Pi requires a 64-bit OS.
It looks like your operating system is using $(uname -m),
-but would need to be aarch64.
-Please take a look at https://birdnetwiki.pmcgui.xyz for more
-information"
+but would need to be aarch64."
exit 1
fi
diff --git a/scripts/install_birdnet.sh b/scripts/install_birdnet.sh
index 3a6a601e..107c6069 100755
--- a/scripts/install_birdnet.sh
+++ b/scripts/install_birdnet.sh
@@ -12,12 +12,10 @@ git log -n 1 --pretty=oneline --no-color --decorate
source install_helpers.sh
-if [ "$(uname -m)" != "aarch64" ];then
+if [ "$(uname -m)" != "aarch64" ] && [ "$(uname -m)" != "x86_64" ];then
echo "BirdNET-Pi requires a 64-bit OS.
It looks like your operating system is using $(uname -m),
-but would need to be aarch64.
-Please take a look at https://birdnetwiki.pmcgui.xyz for more
-information"
+but would need to be aarch64."
exit 1
fi