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
7NAME=org.chromium.chromoting
8PLIST=/Library/LaunchAgents/$NAME.plist
9
10KSADMIN=/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/MacOS/ksadmin
11KSUPDATE=https://tools.google.com/service/update2
12KSPID=com.google.chrome_remote_desktop
13KSPVERSION=0.5
14
15# Register a ticket with Keystone so we're updated.
16$KSADMIN --register --productid $KSPID --version $KSPVERSION --xcpath $PLIST --url $KSUPDATE
17