Update dockutil-labels-user.sh

This commit is contained in:
Michael
2023-07-07 18:20:37 +01:00
committed by GitHub
parent 339f817e9d
commit e3511cd9e8

View File

@@ -27,213 +27,287 @@ fi
if [[ " $@ " =~ "safari" ]]; then if [[ " $@ " =~ "safari" ]]; then
APPNA="Safari" APPNA="Safari"
APPPA="/Applications" APPPA="/Applications"
fi fi
if [[ " $@ " =~ "googlechrome" ]]; then if [[ " $@ " =~ "googlechrome" ]]; then
APPNA="Google Chrome" APPNA="Google Chrome"
APPPA="/Applications" APPPA="/Applications"
fi
if [[ " $@ " =~ "googlechromeenterprise" ]]; then
APPNA="Google Chrome"
APPPA="/Applications"
fi fi
if [[ " $@ " =~ "firefox" ]]; then if [[ " $@ " =~ "firefox" ]]; then
APPNA="Firefox" APPNA="Firefox"
APPPA="/Applications" APPPA="/Applications"
fi
if [[ " $@ " =~ "brave" ]]; then
APPNA="Brave Browser"
APPPA="/Applications"
fi fi
# MICROSOFT OFFICE APPS # MICROSOFT OFFICE APPS
if [[ " $@ " =~ "microsoftword" ]]; then if [[ " $@ " =~ "microsoftword" ]]; then
APPNA="Microsoft Word" APPNA="Microsoft Word"
APPPA="/Applications" APPPA="/Applications"
fi fi
if [[ " $@ " =~ "microsoftexcel" ]]; then if [[ " $@ " =~ "microsoftexcel" ]]; then
APPNA="Microsoft Excel" APPNA="Microsoft Excel"
APPPA="/Applications" APPPA="/Applications"
fi fi
if [[ " $@ " =~ "microsoftpowerpoint" ]]; then if [[ " $@ " =~ "microsoftpowerpoint" ]]; then
APPNA="Microsoft Powerpoint" APPNA="Microsoft Powerpoint"
APPPA="/Applications" APPPA="/Applications"
fi fi
if [[ " $@ " =~ "microsoftoutlook" ]]; then if [[ " $@ " =~ "microsoftoutlook" ]]; then
APPNA="Microsoft Outlook" APPNA="Microsoft Outlook"
APPPA="/Applications" APPPA="/Applications"
fi
fi
if [[ " $@ " =~ "microsoftonenote" ]]; then
APPNA="Microsoft OneNote"
APPPA="/Applications"
fi
# CLOUD STORAGE APPS # CLOUD STORAGE APPS
if [[ " $@ " =~ "dropbox" ]]; then if [[ " $@ " =~ "dropbox" ]]; then
APPNA="Dropbox" APPNA="Dropbox"
APPPA="/Applications" APPPA="/Applications"
fi fi
if [[ " $@ " =~ "microsoftonedrive" ]]; then if [[ " $@ " =~ "microsoftonedrive" ]]; then
APPNA="OneDrive" APPNA="OneDrive"
APPPA="/Applications" APPPA="/Applications"
fi fi
# VIDEO MEETING APPS # VIDEO MEETING APPS
if [[ " $@ " =~ "slack" ]]; then if [[ " $@ " =~ "slack" ]]; then
APPNA="Slack" APPNA="Slack"
APPPA="/Applications" APPPA="/Applications"
fi fi
if [[ " $@ " =~ "microsoftteams" ]]; then if [[ " $@ " =~ "microsoftteams" ]]; then
APPNA="Microsoft Teams" APPNA="Microsoft Teams"
APPPA="/Applications" APPPA="/Applications"
fi fi
if [[ " $@ " =~ "zoom" ]]; then if [[ " $@ " =~ "zoom" ]]; then
APPNA="zoom.us" APPNA="zoom.us"
APPPA="/Applications" APPPA="/Applications"
fi fi
if [[ " $@ " =~ "skype" ]]; then if [[ " $@ " =~ "skype" ]]; then
APPNA="Skype" APPNA="Skype"
APPPA="/Applications" APPPA="/Applications"
fi fi
# ADOBE APPS # ADOBE APPS
if [[ " $@ " =~ "photoshop2022" ]]; then if [[ " $@ " =~ "photoshop2022" ]]; then
APPNA="Adobe Photoshop 2022" APPNA="Adobe Photoshop 2022"
APPPA="/Applications/Adobe Photoshop 2022" APPPA="/Applications/Adobe Photoshop 2022"
fi fi
if [[ " $@ " =~ "indesign2022" ]]; then if [[ " $@ " =~ "indesign2022" ]]; then
APPNA="Adobe InDesign 2022" APPNA="Adobe InDesign 2022"
APPPA="/Applications/Adobe InDesign 2022" APPPA="/Applications/Adobe InDesign 2022"
fi fi
if [[ " $@ " =~ "illustrator2022" ]]; then if [[ " $@ " =~ "illustrator2022" ]]; then
APPNA="Adobe Illustrator" APPNA="Adobe Illustrator"
APPPA="/Applications/Adobe Illustrator 2022" APPPA="/Applications/Adobe Illustrator 2022"
fi fi
if [[ " $@ " =~ "acrobatdc" ]]; then if [[ " $@ " =~ "acrobatdc" ]]; then
APPNA="Adobe Acrobat" APPNA="Adobe Acrobat"
APPPA="/Applications/Adobe Acrobat DC" APPPA="/Applications/Adobe Acrobat DC"
fi fi
if [[ " $@ " =~ "adobereaderdc" ]]; then if [[ " $@ " =~ "adobereaderdc" ]]; then
APPNA="Adobe Acrobat Reader" APPNA="Adobe Acrobat Reader"
APPPA="/Applications" APPPA="/Applications"
fi fi
if [[ " $@ " =~ "adobecreativeclouddesktop" ]]; then if [[ " $@ " =~ "adobecreativeclouddesktop" ]]; then
APPNA="Creative Cloud" APPNA="Creative Cloud"
APPPA="/Applications/Utilities/Adobe Creative Cloud/ACC" APPPA="/Applications/Utilities/Adobe Creative Cloud/ACC"
fi fi
#OTHERS #OTHERS
if [[ " $@ " =~ "console" ]]; then
APPNA="Console"
APPPA="/Applications/Utilities"
fi
if [[ " $@ " =~ "activitymonitor" ]]; then
APPNA="Activity Monitor"
APPPA="/Applications/Utilities"
fi
if [[ " $@ " =~ "diskutility" ]]; then
APPNA="Disk Utility"
APPPA="/Applications/Utilities"
fi
if [[ " $@ " =~ "terminal" ]]; then
APPNA="Terminal"
APPPA="/Applications/Utilities"
fi
if [[ " $@ " =~ "mail" ]]; then if [[ " $@ " =~ "mail" ]]; then
APPNA="Mail" APPNA="Mail"
APPPA="/Applications" APPPA="/Applications"
fi fi
if [[ " $@ " =~ "maps" ]]; then if [[ " $@ " =~ "maps" ]]; then
APPNA="Maps" APPNA="Maps"
APPPA="/Applications" APPPA="/Applications"
fi fi
if [[ " $@ " =~ "news" ]]; then if [[ " $@ " =~ "news" ]]; then
APPNA="News" APPNA="News"
APPPA="/Applications" APPPA="/Applications"
fi fi
if [[ " $@ " =~ "filezilla" ]]; then if [[ " $@ " =~ "filezilla" ]]; then
APPNA="FileZilla" APPNA="FileZilla"
APPPA="/Applications" APPPA="/Applications"
fi fi
if [[ " $@ " =~ "teamviewer" ]]; then if [[ " $@ " =~ "teamviewer" ]]; then
APPNA="TeamViewer" APPNA="TeamViewer"
APPPA="/Applications" APPPA="/Applications"
fi
if [[ " $@ " =~ "teamviewerhost" ]]; then
APPNA="TeamViewer Host"
APPPA="/Applications"
fi
if [[ " $@ " =~ "appleremotedesktop" ]]; then
APPNA="Remote Desktop"
APPPA="/Applications"
fi
if [[ " $@ " =~ "screensharing" ]]; then
APPNA="Screen Sharing"
APPPA="/System/Library/CoreServices/Applications"
fi fi
if [[ " $@ " =~ "microsoftremotedesktop" ]]; then if [[ " $@ " =~ "microsoftremotedesktop" ]]; then
APPNA="Microsoft Remote Desktop" APPNA="Microsoft Remote Desktop"
APPPA="/Applications" APPPA="/Applications"
fi fi
if [[ " $@ " =~ "1password8" ]]; then if [[ " $@ " =~ "1password8" ]]; then
APPNA="1Password" APPNA="1Password"
APPPA="/Applications" APPPA="/Applications"
fi fi
if [[ " $@ " =~ "1password7" ]]; then if [[ " $@ " =~ "1password7" ]]; then
APPNA="1Password 7" APPNA="1Password 7"
APPPA="/Applications" APPPA="/Applications"
fi fi
if [[ " $@ " =~ "filemakerpro" ]]; then if [[ " $@ " =~ "filemakerpro" ]]; then
APPNA="FileMaker Pro" APPNA="FileMaker Pro"
APPPA="/Applications" APPPA="/Applications"
fi fi
if [[ " $@ " =~ "keka" ]]; then if [[ " $@ " =~ "keka" ]]; then
APPNA="Keka" APPNA="Keka"
APPPA="/Applications" APPPA="/Applications"
fi fi
if [[ " $@ " =~ "icons" ]]; then if [[ " $@ " =~ "icons" ]]; then
APPNA="Icons" APPNA="Icons"
APPPA="/Applications" APPPA="/Applications"
fi fi
if [[ " $@ " =~ "cyberduck" ]]; then if [[ " $@ " =~ "cyberduck" ]]; then
APPNA="Cyberduck" APPNA="Cyberduck"
APPPA="/Applications" APPPA="/Applications"
fi
if [[ " $@ " =~ "asana" ]]; then
APPNA="Asana"
APPPA="/Applications"
fi
if [[ " $@ " =~ "googledrive" ]]; then
APPNA="Google Drive"
APPPA="/Applications"
fi fi
# NOT KNOWN TO INSTALLOMATOR - USE FOR DOCK POPULATION ONLY # NOT KNOWN TO INSTALLOMATOR - USE FOR DOCK POPULATION ONLY
if [[ " $@ " =~ "zywallsecuextender" ]]; then if [[ " $@ " =~ "zywallsecuextender" ]]; then
APPNA="ZyWALL SecuExtender" APPNA="ZyWALL SecuExtender"
APPPA="/Applications" APPPA="/Applications"
fi fi
if [[ " $@ " =~ "redstorproese" ]]; then if [[ " $@ " =~ "redstorproese" ]]; then
APPNA="Redstor Pro ESE" APPNA="Redstor Pro ESE"
APPPA="/Applications" APPPA="/Applications"
fi fi
if [[ " $@ " =~ "mitelconnect" ]]; then if [[ " $@ " =~ "mitelconnect" ]]; then
APPNA="Mitel Connect" APPNA="Mitel Connect"
APPPA="/Applications" APPPA="/Applications"
fi fi
if [[ " $@ " =~ "transmit" ]]; then if [[ " $@ " =~ "transmit" ]]; then
APPNA="Transmit" APPNA="Transmit"
APPPA="/Applications" APPPA="/Applications"
fi fi
if [[ " $@ " =~ "monday" ]]; then if [[ " $@ " =~ "monday" ]]; then
APPNA="monday.com" APPNA="monday.com"
APPPA="/Applications" APPPA="/Applications"
fi fi
if [[ " $@ " =~ "filemaker15" ]]; then if [[ " $@ " =~ "filemaker15" ]]; then
APPNA="FileMaker Pro" APPNA="FileMaker Pro"
APPPA="/Applications/FileMaker Pro 15" APPPA="/Applications/FileMaker Pro 15"
fi fi
if [[ " $@ " =~ "excellcloudvoice" ]]; then if [[ " $@ " =~ "excellcloudvoice" ]]; then
APPNA="Excell Cloud Voice Plus" APPNA="Excell Cloud Voice Plus"
APPPA="/Applications" APPPA="/Applications"
fi fi
if [[ " $@ " =~ "accountedgene" ]]; then if [[ " $@ " =~ "accountedgene" ]]; then
APPNA="AccountEdge NE" APPNA="AccountEdge NE"
APPPA="/Applications" APPPA="/Applications"
fi fi
if [[ " $@ " =~ "3cx" ]]; then if [[ " $@ " =~ "3cx" ]]; then
APPNA="3CX Desktop App" APPNA="3CX Desktop App"
APPPA="/Applications" APPPA="/Applications"
fi
if [[ " $@ " =~ "nordlayer" ]]; then
APPNA="NordLayer"
APPPA="/Applications"
fi
if [[ " $@ " =~ "nordpass" ]]; then
APPNA="NordPass"
APPPA="/Applications"
fi
if [[ " $@ " =~ "btcloudphone" ]]; then
APPNA="BT Cloud Phone"
APPPA="/Applications"
fi fi
# ******************************************************************************************************************************** # ********************************************************************************************************************************
# END APP LABELS # END APP LABELS
@@ -244,21 +318,28 @@ fi
# MOSYLE SELF SERVICE # MOSYLE SELF SERVICE
if [[ " $@ " =~ "mosyless" ]]; then if [[ " $@ " =~ "mosyless" ]]; then
APPNA="Self-Service" APPNA="Self-Service"
APPPA="/Applications" APPPA="/Applications"
DOCKPOS=2 DOCKPOS=2
fi fi
# SYSTEM PREFERENCES # SYSTEM PREFERENCES
if [[ " $@ " =~ "systempreferences" ]]; then if [[ " $@ " =~ "systempreferences" ]]; then
APPNA="System Preferences" APPNA="System Preferences"
APPPA="/Applications" APPPA="/Applications"
fi
# SYSTEM PREFERENCES
if [[ " $@ " =~ "systemsettings" ]]; then
APPNA="System Settings"
APPPA="/Applications"
fi fi
# LAUNCHPAD # LAUNCHPAD
if [[ " $@ " =~ "launchpad" ]]; then if [[ " $@ " =~ "launchpad" ]]; then
APPNA="Launchpad" APPNA="Launchpad"
APPPA="/Applications" APPPA="/Applications"
DOCKPOS=1 DOCKPOS=1
fi fi