#!/bin/shPKGNAME=netbird-uiSUPPORTEDARCHES="x86_64"VERSION="$2"DESCRIPTION="GUI for managing NetBird's WireGuard® overlay network."URL="https://github.com/netbirdio/netbird".$(dirname$0)/common.sharch="$(epm print info -a)"if["$arch"!="x86_64"];thenfatal "NetBird UI is only available for x86_64 architecture"fiif["$VERSION"="*"];thenVERSION="$(get_github_tag https://github.com/netbirdio/netbird/)"fiPKGURL="https://github.com/netbirdio/netbird/releases/download/v${VERSION}/netbird-ui_${VERSION}_linux_amd64.deb"install_pkgurl