mirror of
https://github.com/Astatin3/photonvision-2025.0.0-beta-6.git
synced 2026-06-08 16:18:03 -06:00
13 lines
481 B
Bash
13 lines
481 B
Bash
###
|
|
# Alternative ARM Runner installer to setup PhotonVision JAR
|
|
# for ARM based builds such as Raspberry Pi, Orange Pi, etc.
|
|
# This assumes that the image provided to arm-runner-action contains
|
|
# the servicefile needed to auto-launch PhotonVision.
|
|
###
|
|
NEW_JAR=$(realpath $(find . -name photonvision\*-linuxarm64.jar))
|
|
echo "Using jar: " $(basename $NEW_JAR)
|
|
|
|
DEST_PV_LOCATION=/opt/photonvision
|
|
sudo mkdir -p $DEST_PV_LOCATION
|
|
sudo cp $NEW_JAR ${DEST_PV_LOCATION}/photonvision.jar
|