Skip to content

Commit

Permalink
Merge pull request #83 from dkg/fix-build-example
Browse files Browse the repository at this point in the history
Fix .xdc creation example
  • Loading branch information
hpk42 authored Jul 17, 2024
2 parents afcea51 + e9446a3 commit ff35edd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src-docs/get_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ The following `index.html` shows a complete webxdc app, with an input field show
</html>
```

To package the app as a `.xdc` file, zip the directory containing the `index.html`:
To package the app as a `.xdc` file, zip the directory containing `index.html` and any related files:

```shell
zip -9 --recurse-paths "myapp.xdc" PATH_TO_DIR
(cd PATH_TO_DIR && zip -9 --recurse-paths - *) > myapp.xdc
```

Now it's possible to share the `myapp.xdc` file in any chat: recipients can hit "Start" to begin using the app to enter text in this input field and send updates to each other.
Expand Down

0 comments on commit ff35edd

Please sign in to comment.