Skip to content

Commit

Permalink
Merge branch 'main' of github.com:pandrr/WebDemoExe
Browse files Browse the repository at this point in the history
  • Loading branch information
pandrr committed Apr 2, 2023
2 parents bf4c5f4 + 2c92eb0 commit 7071301
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
![image](https://user-images.githubusercontent.com/98792/229350512-f74e4f52-9f70-4a86-874a-3cb07f25bb17.png)

## webDemoExe

wrap your web demo into a windows exe format, just like a native demo.

https://github.com/pandrr/WebDemoExe/releases

### about

- it does not use electron, size is ~0.5mb
- it will use edge to display your demo. edge ist a chromium based browser, which is basically chrome
- it will use edge to display your demo. edge is a chromium based browser, which is basically chrome
- shows a little start dialog (only fullscreen option right now, more in the future hopefully)


### how

- download the zip file from the releases section
- download the zip file from the releases section
- put your static html/js files into the demo subfolder
- edit webdemoexe.xml and change the title
- rename webdemoexe.exe to your demo name

### technical
- webdemoexe uses webview2 and creates a virtual host from the demo subfolder to run your demo
- exe is not signed, still have to click "run anyway", like with most demos
- webdemoexe uses [webview2](https://learn.microsoft.com/en-us/microsoft-edge/webview2/) and creates a virtual host from the demo subfolder to run your demo
- escape to close is handled by webdemoexe
- no gesture is needed to auto play audio, if you normally display a play button, make sure it only shows when audiocontext stats is not "running"...

Expand Down

0 comments on commit 7071301

Please sign in to comment.