Using the previous recommendation of file command, grep the text of the
binary and report 1 if matches and 0 is not. Bit more basic but should
do the job.#!/bin/bash if [[ -e /Applications/Slack.app ]]; then # using
file and getting the number of ent...
Hello, Once you are happy with your script outcome, go to Jamf Pro
/Settings/Computer management/Extension attributesCreate a New EAGive a
Display NameData Type: StringChoose where to Inventory DisplayInput Type
select Script.Copy and Paste the scrip...
Hello @matthias_bretz I've created a set of folders to"mimic" the
PATH_EXPR path of several "apps".I found out the PLIST variable does not
resolve the path with /../Info.plist in:PLIST="$(/usr/bin/dirname
"${BINARY}")/../Info.plist"I've changed to: P...