Skip to content

Commit

Permalink
Merge pull request #110 from vzever/v1
Browse files Browse the repository at this point in the history
change "upstart-app-launch" to "ubuntu-app-launch"
  • Loading branch information
niemeyer committed Oct 9, 2014
2 parents b94596a + ab36fb4 commit 871e3a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ run the following commands to get a working build environment inside the device:

$ adb shell
# cd /tmp
# wget https://github.com/go-qml/qml/raw/master/cmd/ubuntu-touch/setup.sh
# wget https://github.com/go-qml/qml/raw/v1/cmd/ubuntu-touch/setup.sh
# /bin/bash setup.sh
# su - phablet
$
Expand All @@ -92,11 +92,11 @@ At the end of setup.sh, the phablet user will have GOPATH=$HOME in the environme
the qml package will be built, and the particle example will be built and run. For
stopping it from the command line, run as the phablet user:

$ upstart-app-stop gopkg.in.qml.particle-example
$ ubuntu-app-stop gopkg.in.qml.particle-example

for running it again:

$ upstart-app-launch gopkg.in.qml.particle-example
$ ubuntu-app-launch gopkg.in.qml.particle-example

These commands depend on the following file, installed by setup.sh:

Expand Down
4 changes: 2 additions & 2 deletions cmd/ubuntu-touch/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ echo 'Installing Go and dependencies -------------------------------------------

apt-get update
apt-get install -y \
golang-go g++ git pkg-config \
golang-go g++ git pkg-config ubuntu-app-launch\
qtbase5-private-dev qtdeclarative5-private-dev libqt5opengl5-dev
apt-get clean

Expand All @@ -38,4 +38,4 @@ su -l phablet -c 'cd $HOME/src/gopkg.in/qml.v0/examples/particle; go build'

echo 'Launching particle example ---------------------------------------------------'

su -l phablet -c "upstart-app-launch $APP_ID"
su -l phablet -c "ubuntu-app-launch $APP_ID"

0 comments on commit 871e3a7

Please sign in to comment.