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 1/3] 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 From 2d813bce804f31dc573842fb449ae69c26c01e2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Mon, 14 Mar 2022 10:19:47 +0100 Subject: [PATCH 2/3] Microsoft Endpoint Manager (Intune) --- fragments/header.sh | 2 +- fragments/main.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fragments/header.sh b/fragments/header.sh index 6a641f0..bde971b 100644 --- a/fragments/header.sh +++ b/fragments/header.sh @@ -80,7 +80,7 @@ LOGO=appstore # - mosyleb Mosyle Business # - mosylem Mosyle Manager (Education) # - addigy Addigy -# - microsoft Microsoft Endpoint Manager (formerly known as Intune) +# - microsoft Microsoft Endpoint Manager (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 6777da8..ce2a03f 100644 --- a/fragments/main.sh +++ b/fragments/main.sh @@ -56,7 +56,7 @@ case $LOGO in if [[ -z $MDMProfileName ]]; then; MDMProfileName="MDM Profile"; fi ;; microsoft) - # Microsoft Endpoint Manager (formerly known as Intune) + # Microsoft Endpoint Manager (Intune) LOGO="/Applications/Company Portal.app/Contents/Resources/AppIcon.icns" #if [[ -z $MDMProfileName ]]; then; MDMProfileName="MDM Profile"; fi ;; From 00ebfa35fdf5ff075e439c6e1cc4199be3ca4773 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Tue, 15 Mar 2022 15:13:22 +0100 Subject: [PATCH 3/3] Correct MDM profile name and LOGO path now --- fragments/main.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fragments/main.sh b/fragments/main.sh index ce2a03f..90063ec 100644 --- a/fragments/main.sh +++ b/fragments/main.sh @@ -57,8 +57,8 @@ case $LOGO in ;; microsoft) # Microsoft Endpoint Manager (Intune) - LOGO="/Applications/Company Portal.app/Contents/Resources/AppIcon.icns" - #if [[ -z $MDMProfileName ]]; then; MDMProfileName="MDM Profile"; fi + LOGO="/Library/Intune/Microsoft Intune Agent.app/Contents/Resources/AppIcon.icns" + if [[ -z $MDMProfileName ]]; then; MDMProfileName="Management Profile"; fi ;; esac if [[ ! -a "${LOGO}" ]]; then