-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathZoom_Plug-In_Version.xml
19 lines (18 loc) · 994 Bytes
/
Zoom_Plug-In_Version.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0" encoding="UTF-8"?><extensionAttribute>
<displayName>Zoom_Plug-In_Version</displayName>
<displayInCategory>Extension Attributes</displayInCategory>
<description>Reports the installed version of Zoom Injection Plug-In</description>
<dataType>string</dataType>
<scriptContentsMac>#!/bin/zsh
if [ -d /Library/Application\ Support/ZoomOutlookPlugin/zOutlookPluginAgent.app ]; then
ZoomVersion=`/usr/bin/defaults read /Library/Application\ Support/ZoomOutlookPlugin/zOutlookPluginAgent.app/Contents/Info.plist CFBundleVersion`
echo "<result>$ZoomVersion</result>"
elif [ -d /Users/Shared/ZoomOutlookPlugin/zOutlookPluginAgent.app ]; then
ZoomVersion=`/usr/bin/defaults read /Users/Shared/ZoomOutlookPlugin/zOutlookPluginAgent.app/Contents/Info.plist CFBundleVersion`
echo "<result>$ZoomVersion</result>"
else
echo "<result>Not installed</result>"
fi
exit 0</scriptContentsMac>
<scriptContentsWindows/>
</extensionAttribute>