4 ms·
Is it the run_in_window() method cross platform? Can you talk a bit more about the implementation?
by atum47 2y ago
Is it the run_in_window() method cross platform? Can you talk a bit more about the implementation?
- Retr0id 2y agoafaict it uses https://github.com/r0x0r/pywebview https://github.com/r0x0r/pywebview under the hood (so yes, cross-platform)
- Sn3llius 2y agoNailed it! We use pywebview. (Rio Dev here.) Local apps run inside of a webview. Think of it like electron but for Python. Even though this _should_ be cross platform, we've unfortunately found a lot of subtle issues with pywebview. That's why we're still considering this to be experimental. In my experience webview works great on Windows, but struggles on Linux. For examples Videos don't play reliably when using the GTK backend. We're looking into other ways to run a browser - my favorite would be to just find one already installed and just start it without UI - but that's some way off.