zach-capalbo / flammarion

The nifty ruby gui toolkit.
Other
285 stars 11 forks source link

Use better webview #42

Closed xiejiangzhi closed 2 years ago

xiejiangzhi commented 5 years ago

When we use browser to render the page, if I close my browser, the app will be closed。and many settings of browser will affect our app.

I have wrapped a webview, it based on zserge/webview. I think it is better.

zach-capalbo commented 5 years ago

Thanks for sharing! That's a great idea! It should be pretty easy to build a new Revelator (i.e., Flammarion display backend) that uses your webview. I will try it out as soon as I can, or feel free to submit a pull request if you'd like to do it yourself

xiejiangzhi commented 5 years ago

I am developing my own application, so there is currently no time to create a PR. My application also based on WebView, it's not like this repo, I directly use HTML + JS + CSS to build page. For me it's easier. But this repo let me know how to write app based on WebView. thanks