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

Side by Side Diff: mojo/devtools/common/docs/mojo_run.md

Issue 1354643002: Don't use real urls for kiosk_wm just yet. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « no previous file | mojo/devtools/common/mojo_run » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # mojo_run 1 # mojo_run
2 2
3 `mojo_run` allows you to run a Mojo shell either on the host, or on an attached 3 `mojo_run` allows you to run a Mojo shell either on the host, or on an attached
4 Android device. 4 Android device.
5 5
6 ```sh 6 ```sh
7 mojo_run APP_URL # Run on the host. 7 mojo_run APP_URL # Run on the host.
8 mojo_run APP_URL --android # Run on Android device. 8 mojo_run APP_URL --android # Run on Android device.
9 mojo_run "APP_URL APP_ARGUMENTS" # Run an app with startup arguments 9 mojo_run "APP_URL APP_ARGUMENTS" # Run an app with startup arguments
10 ``` 10 ```
11 11
12 Unless running within a Mojo checkout, we need to indicate the path to the shell 12 Unless running within a Mojo checkout, we need to indicate the path to the shell
13 binary: 13 binary:
14 14
15 ```sh 15 ```sh
16 mojo_run --shell-path path/to/shell/binary APP_URL 16 mojo_run --shell-path path/to/shell/binary APP_URL
17 ``` 17 ```
18 18
19 Some applications are meant to be run embedded in a **window manager**. To run 19 Some applications are meant to be run embedded in a **window manager**. To run
20 these, you can pass the app url using the `--embed` flag. This will run the 20 these, you can pass the app url using the `--embed` flag. This will run the
21 window manager and pass the given url to it: 21 window manager and pass the given url to it:
22 22
23 ```sh 23 ```sh
24 mojo_run --embed APP_URL [--android] 24 mojo_run --embed APP_URL [--android]
25 ``` 25 ```
26 26
27 By default, `mojo_run` uses https://core.mojoapps.io/kiosk_wm.mojo as the window 27 By default, `mojo_run` uses mojo:kiosk_wm as the window manager. You can pass a
28 manager. You can pass a different window manager url using the 28 different window manager url using the `--window-manager` flag to override this.
29 `--window-manager` flag to override this.
OLDNEW
« no previous file with comments | « no previous file | mojo/devtools/common/mojo_run » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698