mirror of
https://github.com/PurpleComputing/mdmscripts.git
synced 2026-03-20 16:30:25 +00:00
Fixing app name location
This commit is contained in:
@@ -20,13 +20,15 @@
|
||||
#########################################################################
|
||||
# Script to brand DEPNotify with PurpleComputing for app installs.
|
||||
#
|
||||
appname=$(cat /tmp/.appinstallname)
|
||||
cp -f /tmp/.appinstallname /Library/Caches/com.purplecomputing.mdm/Apps/.appinstallname
|
||||
rm /tmp/.appinstallname
|
||||
appname=$(cat /Library/Caches/com.purplecomputing.mdm/Apps/.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: 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 ###
|
||||
|
||||
Reference in New Issue
Block a user