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

Unified Diff: README.md

Issue 1283733002: Add mojo_run --embed APP_URL and update wm urls. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Improve the comments. Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mojo/devtools/common/README.md » ('j') | mojo/devtools/common/mojo_run » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: README.md
diff --git a/README.md b/README.md
index c945a8deab07fa616a6caef7f9169a5098b93cc4..3817bd9deda2bfe6343cf85499fbd00ee10c0342 100644
--- a/README.md
+++ b/README.md
@@ -235,14 +235,17 @@ mojo_run https://core.mojoapps.io/examples/dart/device_info/main.dart [--android
```
Some applications are meant to be run embedded in a **window manager**. To run
-these, pass their urls as arguments for `mojo:window_manager`, which is a
-special url that `mojo_run` maps to a real window manager (
-https://core.mojoapps.io/kiosk_wm.mojo) for you:
+these, you can pass the app url using the `--embed` flag. This will run window
+manager and pass the given url to it:
```sh
-devtools/common/mojo_run "mojo:window_manager https://core.mojoapps.io/ganesh_app.mojo" [--android]
+devtools/common/mojo_run --embed https://core.mojoapps.io/ganesh_app.mojo [--android]
```
+By default, `mojo_run` uses https://core.mojoapps.io/kiosk_wm.mojo as the window
+manager. You can pass a different window manager url using the
+`--window-manager` flag to override this.
+
For additional information on `mojo_run` refer to the built-in help and the
[documentation](https://github.com/domokit/devtools/blob/master/README.md#runner).
You can also request more information on what the tool is doing for you by
« no previous file with comments | « no previous file | mojo/devtools/common/README.md » ('j') | mojo/devtools/common/mojo_run » ('J')

Powered by Google App Engine
This is Rietveld 408576698