Create install-depnotify.sh

This commit is contained in:
Michael
2023-11-27 20:23:51 +00:00
committed by GitHub
parent 8dd4c2dabc
commit dbbb3c8ed6

View File

@@ -0,0 +1,16 @@
#!/bin/bash
# URL of the .pkg file to download
downloadUrl="https://store.prpl.it/DEPNotify.pkg"
# Destination directory to store the downloaded .pkg file
destinationDirectory="/tmp/pkg-install"
# Create the destination directory if it doesn't exist
mkdir -p "$destinationDirectory"
# Download the .pkg file
curl -o "$destinationDirectory/DEPNotify.pkg" "$downloadUrl"
# Install the .pkg file
installer -pkg "$destinationDirectory/DEPNotify.pkg" -target /