From dbbb3c8ed65793a2138be6e929e6041d332dc162 Mon Sep 17 00:00:00 2001 From: Michael <30936296+mtan93@users.noreply.github.com> Date: Mon, 27 Nov 2023 20:23:51 +0000 Subject: [PATCH] Create install-depnotify.sh --- Helpers/install-depnotify.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Helpers/install-depnotify.sh diff --git a/Helpers/install-depnotify.sh b/Helpers/install-depnotify.sh new file mode 100644 index 0000000..ce5acc0 --- /dev/null +++ b/Helpers/install-depnotify.sh @@ -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 /