Is Google Chrome.dmg Saferenewbed
Is Google Chrome.dmg Safe
How to Repair Google Chrome. This wikiHow teaches you how to fix common errors in the Google Chrome desktop browser, as well as how to uninstall and reinstall the Chrome browser on both desktop and iPhone. In the side pane listing drives mounted I saw at least a dozen 'com.google.Chrome.dmg' files coupled with a 'mounted' Google Chrome drive. This is the only place in which they appeared, that is, they did not appear on my desktop nor in any Finder window side pane. Google Chrome is a browser that combines a minimal design with sophisticated technology to make the Web faster, safer, and easier. Use one box for everything-type in the address bar and get. Get more done with the new Google Chrome. A more simple, secure, and faster web browser than ever, with Google’s smarts built-in.
#!/bin/sh |
dmgfile='googlechrome.dmg' |
volname='Google Chrome' |
logfile='/Library/Logs/GoogleChromeInstallScript.log' |
url='https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg' |
/bin/echo '--'>>${logfile} |
/bin/echo '`date`: Downloading latest version.'>>${logfile} |
/usr/bin/curl -s -o /tmp/${dmgfile}${url} |
/bin/echo '`date`: Mounting installer disk image.'>>${logfile} |
/usr/bin/hdiutil attach /tmp/${dmgfile} -nobrowse -quiet |
/bin/echo '`date`: Installing...'>>${logfile} |
ditto -rsrc '/Volumes/${volname}/Google Chrome.app''/Applications/Google Chrome.app' |
/bin/sleep 10 |
/bin/echo '`date`: Unmounting installer disk image.'>>${logfile} |
/usr/bin/hdiutil detach $(/bin/df | /usr/bin/grep '${volname}'| awk '{print $1}') -quiet |
/bin/sleep 10 |
/bin/echo '`date`: Deleting disk image.'>>${logfile} |
/bin/rm /tmp/'${dmgfile}' |
exit 0 |