{{ $appID := .AppID }} {{ $appName := .AppName }}
{{ if .RenderAPK }}
- Download F-Droid from f-droid.org
- Open F-Droid and go to
Settings
, thenRepositories
- Add a new repository by following the instructions at [{{ .AndroidRepoURL }}]({{ .AndroidRepoURL }})
- Search for
{{ $appName }}
in F-Droid and tap onInstall
{{ $appName }} should now be installed and receive updates automatically. {{ end }}
{{ range .DEBs }}
To install the prebuilt binary package, run the following:
pkexec sudo bash - <<'EOT'
mkdir -p /usr/local/share/keyrings
curl -Lo {{ .URL }}/repo.asc | gpg --dearmor --output /usr/local/share/keyrings/{{ $appID }}.gpg -
cat >/etc/apt/sources.list.d/{{ $appID }}.list <<EOA
deb [signed-by=/usr/local/share/keyrings/{{ $appID }}.gpg] {{ .URL }} {{ .DistroName }} main
deb-src [signed-by=/usr/local/share/keyrings/{{ $appID }}.gpg] {{ .URL }} {{ .DistroName }} main
EOA
apt update
apt install -y '{{ $appID }}'
EOT
To install the source package, build the binary package locally and install it, run the following:
pkexec sudo bash - <<'EOT'
mkdir -p /usr/local/share/keyrings
curl -Lo {{ .URL }}repo.asc | gpg --dearmor --output /usr/local/share/keyrings/{{ $appID }}.gpg -
cat >/etc/apt/sources.list.d/{{ $appID }}.list <<EOA
deb [signed-by=/usr/local/share/keyrings/{{ $appID }}.gpg] {{ .URL }} {{ .DistroName }} main
deb-src [signed-by=/usr/local/share/keyrings/{{ $appID }}.gpg] {{ .URL }} {{ .DistroName }} main
EOA
apt update
apt install -y dpkg-dev
apt build-dep -y '{{ $appID }}'
apt source -y --build '{{ $appID }}'
apt install -y ./{{ $appID }}_*.deb
EOT
{{ $appName }} should now be installed and receive updates automatically.
{{ end }}
{{ range .RPMs }}
To install the prebuilt binary package, run the following:
pkexec sudo bash - <<'EOT'
dnf config-manager addrepo --from-repofile='{{ .URL }}'
dnf install -y '{{ $appID }}'
EOT
To install the source package, build the binary package locally and install it, run the following:
pkexec sudo bash - <<'EOT'
dnf config-manager addrepo --from-repofile='{{ .URL }}'
dnf install -y rpm-build
dnf download --source -y '{{ $appID }}'
dnf builddep -y {{ $appID }}-*.rpm
rpmbuild --rebuild {{ $appID }}-*.rpm
dnf install -y ~/rpmbuild/RPMS/"$(uname -m)"/{{ $appID }}-*.rpm
EOT
{{ $appName }} should now be installed and receive updates automatically.
{{ end }}
{{ if .RenderDMG }}
- Download the
.app
from [{{ .MacOSBinaryURL }}]({{ .MacOSBinaryURL }}) - Mount
{{ .MacOSBinaryName }}
by opening it - Drag
{{ $appName }}
to theApplications
folder
{{ $appName }} should now be installed and receive updates automatically. {{ end }}
{{ range .Flatpaks }}
To install the package, run the following:
flatpak remote-add '{{ $appID }}' --from '{{ .URL }}'
flatpak install -y '{{ $appID }}'
{{ $appName }} should now be installed and receive updates automatically. {{ end }}
{{ range .MSIs }}
- Download the Npcap installer from https://npcap.com/
- Install Npcap by opening the downloaded file
- Download the {{ $appName }} installer from [{{ .URL }}]({{ .URL }})
- Install {{ $appName }} by opening the downloaded file
{{ $appName }} should now be installed and receive updates automatically.
{{ end }}
{{ if .RenderBinaries }}
{{ $appName }} is also available as a single static binary. To install it, download the binary for your operating system and processor architecture from [{{ .BinariesURL }}]({{ .BinariesURL }}). They include a self-update mechanism, so you should be receiving updates automatically. {{ end }}