Skip to content

Commit

Permalink
Update readme, let example/run.sh take options
Browse files Browse the repository at this point in the history
  • Loading branch information
anko committed Mar 4, 2024
1 parent 81db1f6 commit 98aef49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion example/run.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
cd "$(dirname "${BASH_SOURCE[0]}")"
../hudkit "file://$PWD/page.html"
../hudkit $@ "file://$PWD/page.html"
9 changes: 4 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ using a fullscreen transparent web view for.
- Small executable. Uses native GTK and WebKit libraries.
- Supports modern web APIs like WebSockets, WebAudio, WebGL, etc.

Platforms:  :heavy\_check\_mark: Linux (X11)  :no\_entry\_sign:
~~Linux (Wayland)~~  :no\_entry\_sign: ~~Windows~~  :no\_entry\_sign:
~~OS X~~ (but see https://github.com/progrium/topframe!)
Platforms:   ✔️ Linux (X11) 🚫 [~~Linux (Wayland)~~](https://github.com/anko/hudkit/issues/20)  🚫 [~~Windows~~](https://github.com/anko/hudkit/issues/19)  🚫 [~~OS X~~](https://github.com/progrium/topframe)

## Quick start

Expand All @@ -27,8 +25,7 @@ cd /tmp
git clone https://github.com/anko/hudkit.git
cd hudkit
make
cd example
./run.sh
./example/run.sh
```

If `make` complains, check [dependencies](#dependencies).
Expand All @@ -42,6 +39,8 @@ contains some explanatory comments, so it might make a good starting point for
your experiments. If you come up with a (fairly compact) example of your own,
please PR.

To open Web Inspector targeting the example page, `./example/run.sh --inspect`.

## Usage

```
Expand Down

0 comments on commit 98aef49

Please sign in to comment.