OLD | NEW |
(Empty) | |
| 1 #!/bin/sh |
| 2 |
| 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. |
| 6 |
| 7 ME2ME_HOST="/Library/PrivilegedHelperTools/org.chromium.chromoting.me2me_host.ap
p" |
| 8 UNINSTALLER="/Applications/Chrome Remote Desktop Host Uninstaller.app" |
| 9 PREFPANE="/Library/PreferencePanes/org.chromium.chromoting.prefPane" |
| 10 KEYSTONE="/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle" |
| 11 |
| 12 INFO_PLIST="Contents/Info.plist" |
| 13 |
| 14 set -e -u |
| 15 |
| 16 function print_plist_version { |
| 17 local name="${1}" |
| 18 local file="${2}" |
| 19 set `PlistBuddy -c 'Print CFBundleVersion' "${file}/${INFO_PLIST}"` |
| 20 echo "${name} version = ${1}" |
| 21 } |
| 22 |
| 23 print_plist_version "Me2me host" "${ME2ME_HOST}" |
| 24 print_plist_version "Uninstaller" "${UNINSTALLER}" |
| 25 print_plist_version "PreferencePane" "${PREFPANE}" |
| 26 print_plist_version "Keystone" "${KEYSTONE}" |
OLD | NEW |