Files
mdmscripts/Helpers/brandDEPinstall.sh
2021-10-06 13:33:59 +01:00

35 lines
1.1 KiB
Bash

#!/bin/sh
#########################################################################
#
# ABOUT THIS PROGRAM
#
# NAME
# DEPNotify Branding for app installs
#
# SYNOPSIS
# brandDEPinstall.sh
# FOR INITIAL DEPLOYMENT OR ENROLMENT USE ONLY
#########################################################################
#
# HISTORY
#
# Version: 1.2
#
# - 1.1 Michael Tanner, 04.10.2021
#
#########################################################################
# Script to brand DEPNotify with PurpleComputing for app installs.
#
appname=$(cat /tmp/.appinstallname)
chmod 777 /var/tmp/depnotify.log
## BRANDING DEPNOTIFY WINDOW
echo Command: MainTitle: Installing $appname... >> /var/tmp/depnotify.log
echo 'Command: Image: /Library/Application Support/Purple/logo.png' >> /var/tmp/depnotify.log
echo Command: MainText: We are now installing re-installing the $appname application. >> /var/tmp/depnotify.log
echo Command: WindowStyle: Activate >> /var/tmp/depnotify.log
echo Command: NotificationOn: >> /var/tmp/depnotify.log
## STARTING INSTALLS ###
sleep 2s
## echo Status: Installing $appname in the background... >> /var/tmp/depnotify.log ## IGNORE DO NOT DELETE FOR NOW