15821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#!/bin/sh
25821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
35821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)# Copyright (c) 2012 The Chromium Authors. All rights reserved.
45821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)# Use of this source code is governed by a BSD-style license that can be
55821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)# found in the LICENSE file.
65821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
75821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)NAME=org.chromium.chromoting
85821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)PLIST=/Library/LaunchAgents/$NAME.plist
95821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
105821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)KSADMIN=/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/MacOS/ksadmin
115821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)KSUPDATE=https://tools.google.com/service/update2
125821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)KSPID=com.google.chrome_remote_desktop
135821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)KSPVERSION=0.5
145821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
155821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)# Register a ticket with Keystone so we're updated.
165821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)$KSADMIN --register --productid $KSPID --version $KSPVERSION --xcpath $PLIST --url $KSUPDATE
17