Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: remoting/tools/get_mac_crd_version.sh

Issue 10332303: [Chromoting] Simple script to print out installed mac version info. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/sh
2
3 ME2ME_HOST="/Library/PrivilegedHelperTools/org.chromium.chromoting.me2me_host.ap p"
4 UNINSTALLER="/Applications/Chrome Remote Desktop Host Uninstaller.app"
5 PREFPANE="/Library/PreferencePanes/org.chromium.chromoting.prefPane"
6 KEYSTONE="/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle"
7
8 INFO_PLIST="Contents/Info.plist"
9
10 set -e -u
11
12 function print_plist_version {
13 local name="${1}"
14 local file="${2}"
15 set `PlistBuddy -c 'Print CFBundleVersion' "${file}/${INFO_PLIST}"`
16 echo "${name}" version = "${1}"
Jamie 2012/05/22 23:44:08 Nit: quotes around the whole string would be more
17 }
18
19 print_plist_version "Me2me host" "${ME2ME_HOST}"
20 print_plist_version "Uninstaller" "${UNINSTALLER}"
21 print_plist_version "PreferencePane" "${PREFPANE}"
22 print_plist_version "Keystone" "${KEYSTONE}"
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698