mirror of
https://github.com/PurpleComputing/mdmscripts.git
synced 2026-02-12 01:54:26 +00:00
35 lines
1.1 KiB
Bash
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
|