Fixup AgentDVR pull ARM64 release

This commit is contained in:
Sam Heinz
2024-04-08 17:12:23 +10:00
parent 7e37339595
commit e0f23c793f

View File

@@ -28,10 +28,10 @@ msg_ok "Installed Dependencies"
msg_info "Installing AgentDVR"
mkdir -p /opt/agentdvr/agent
RELEASE=$(curl -s "https://www.ispyconnect.com/api/Agent/DownloadLocation4?platform=Linux64&fromVersion=0" | grep -o 'https://.*\.zip')
RELEASE=$(curl -s "https://www.ispyconnect.com/api/Agent/DownloadLocation4?platform=LinuxARM64&fromVersion=0" | grep -o 'https://.*\.zip')
cd /opt/agentdvr/agent
wget -q $RELEASE
$STD unzip Agent_Linux64*.zip
$STD unzip Agent_LinuARM64*.zip
rm -rf Agent_Linux64*.zip
chmod +x ./Agent
msg_ok "Installed AgentDVR"