launch -> run

This commit is contained in:
dmc
2024-01-30 22:00:57 +01:00
parent 025ab50d05
commit a32ed51350
3 changed files with 10 additions and 10 deletions

View File

@@ -35,10 +35,10 @@ If not, the first run of `pear` will fetch the platform from peers, after which
To check that Pear is fully working, try the following command:
```
pear launch keet
pear run keet
```
Pear loads applications from peers, so this command should launch [Keet](https://keet.io) whether or not it was downloaded and installed beforehand.
Pear loads applications from peers, so this command should open [Keet](https://keet.io) whether or not it was downloaded and installed beforehand.
## Next

View File

@@ -102,7 +102,7 @@ In development, `pear://dev/<data>`.
**References**
* [Pear.config.link](#pearconfiglinkdata-string)
* [`pear dev`](./cli.md)
* [`pear launch`](./cli.md)
* [`pear run`](./cli.md)
### `Pear.config.linkData <String>`
@@ -116,7 +116,7 @@ In development, `pear://dev/<data>`.
* [Pear.config.link](#pearconfiglink-string)
* [`pear dev`](./cli.md)
* [`pear launch`](./cli.md)
* [`pear run`](./cli.md)
### `Pear.config.checkpoint <Any>`
@@ -327,7 +327,7 @@ Captures available desktop sources. Resolves to an array of objects with shape `
Versions object. Pear versions are objects with the shape `{ fork <Integer>, length <Integer>, key <Buffer> }`.
The `key` is a Buffer of the launch key. The `length` is the size of the relevant Hypercore. The `fork` property is determined by data truncation.
The `key` is a Buffer of the run key. The `length` is the size of the relevant Hypercore. The `fork` property is determined by data truncation.
These three properties together are a unique identifier for the entire state of both applications and the Pear platform.

View File

@@ -24,11 +24,11 @@ A Pear link takes the form: `pear://<key>/<data>`.
The `<data>` portion of the link is available as `pear.config.linkData`.
```
--no-watch Disable watch-reload
--launch=key Launch an app in dev mode
--link=url Simulate deep-link click open
--store|-s=path Set the Application Storage path
--tmp-store|-t Use a temporary Application Storage path
--link=url Simulate deep-link click open
--run=key Run app from key in dev mode
--link=url Simulate deep-link click open
--store|-s=path Set the Application Storage path
--tmp-store|-t Use a temporary Application Storage path
```
## pear stage <channel|key> [dir]