kmfkparts.blogg.se

Googlechromedmg
Googlechromedmg







googlechromedmg

The googlechrome.dmg file downloads fine (directly from Google's mirror), but after I drag the Google Chrome icon into my applications folder I am unable to run the actual application. # Copy contents of vendor supplied DMG file to /Applications/Ĭp -pPR /Volumes/Google \ Chrome/Google \ Chrome.I've been attempting to install Google Chrome on a new MBP 2015 running MacOS Mojave 10.14.2 and have not been successful. Hdiutil attach /tmp/ $VendorDMG -nobrowse # Download vendor supplied DMG file into /tmp/ bin/echo "Starting installation of Google Chrome " Rm -rf /Library/Application \ Support/JAMF/.ChromeUpgradeTimer.txt Su - $LoggedInUser /Library/Application \ Support/JAMF/.ChromeUpgradeTimer.txt #Show a message via Jamf Helper that the update has started - & at end so the script can carry on after jamf helper is launched. HELPER= ` " $jamfHelper " -windowType utility -icon " $icon " -heading " $heading " -alignHeading center -title " $title " -description " $description " -button1 "Later " -button2 "Upgrade Now " -defaultButton "2 " ` If you do not choose to upgrade Chrome today, you will be reminded tomorrow. Google Chrome must quit to complete the upgrade.

googlechromedmg

Would you like to upgrade now? You may choose to not upgrade Google Chrome now, but after $Timer deferrals your mac will be automatically upgraded. Heading= "An important Google Chrome upgrade is availabe for your Mac - $Timer deferrals remaining "ĭescription= "The Google Chrome upgrade includes new features, security updates and performance enhancements. JamfHelper= "/Library/Application Support/JAMF/bin/jamfHelper.app/Contents/MacOS/jamfHelper " #Go get the Sierr icon from Apple's website Timer= $(cat /Library/Application \ Support/JAMF/.ChromeUpgradeTimer.txt )

googlechromedmg

#Get the value of the timer file and store for later LoggedInUser= `python -c 'from SystemConfiguration import SCDynamicStoreCop圜onsoleUser import sys username = (SCDynamicStoreCop圜onsoleUser(None, None, None) or ) username = ] (username + "\n") ' `Įcho "Current LoggedInUser is $LoggedInUser " If thenĮcho "5 " > /Library/Application \ Support/JAMF/.ChromeUpgradeTimer.txt # which represents the number of defers the end user will have # Check we have the timer file and if not create it and populate with 5









Googlechromedmg