From 69e4cdd2168bb1c32abd177f8cd798d39e79cd1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Mon, 14 Mar 2022 10:18:58 +0100 Subject: [PATCH] Microsoft Endpoint Manager (Intune) added for LOGO --- fragments/header.sh | 1 + fragments/main.sh | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/fragments/header.sh b/fragments/header.sh index cc19927..6a641f0 100644 --- a/fragments/header.sh +++ b/fragments/header.sh @@ -80,6 +80,7 @@ LOGO=appstore # - mosyleb Mosyle Business # - mosylem Mosyle Manager (Education) # - addigy Addigy +# - microsoft Microsoft Endpoint Manager (formerly known as Intune) # path can also be set in the command call, and if file exists, it will be used. # Like 'LOGO="/System/Applications/App\ Store.app/Contents/Resources/AppIcon.icns"' # (spaces have to be escaped). diff --git a/fragments/main.sh b/fragments/main.sh index a508d52..6777da8 100644 --- a/fragments/main.sh +++ b/fragments/main.sh @@ -55,6 +55,11 @@ case $LOGO in LOGO="/Library/Addigy/macmanage/MacManage.app/Contents/Resources/atom.icns" if [[ -z $MDMProfileName ]]; then; MDMProfileName="MDM Profile"; fi ;; + microsoft) + # Microsoft Endpoint Manager (formerly known as Intune) + LOGO="/Applications/Company Portal.app/Contents/Resources/AppIcon.icns" + #if [[ -z $MDMProfileName ]]; then; MDMProfileName="MDM Profile"; fi + ;; esac if [[ ! -a "${LOGO}" ]]; then if [[ $(sw_vers -buildVersion) > "19" ]]; then