opkarctic.blogg.se

Sublime for mac 2016
Sublime for mac 2016









sublime for mac 2016

If test -e /Applications/Sublime Text.app thenĮcho "User is not root or the local admin, checking Sublime Text." STV=`defaults read /Applications/Sublime Text.app/Contents/ist CFBundleIdentifier` ThisUser=`stat -f '%u %Su' /dev/console | awk ''` The script seems to be working for the most part, but I am getting a failure on the defaults read even though it should not be running when Sublime isn't installed (the script should just return "NA" to the JSS and exit). I am writing a script for use as an extension attribute which will check for the existence of Sublime Text.app, check that the console user isn't a local admin or root, and then go an check both Sublime Text 2 and also Sublime Text 3 and report back on whether either or is licensed.











Sublime for mac 2016