2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-07-04 06:39:58 +00:00

refactor: use new webwindowed api (#831)

* chore: update webview with new api

* chore: update modman to use new webview api

* chore: use title handler plugin from webview lib

* chore: use favicon plugin from webview lib

* chore: use vite-plugin-cpp-header from webview repo

* chore: use asset handler from webview lib

* chore: make webview utility

* chore: rename webview to webwindowed

* chore: Rename code usages to webwindowed
This commit is contained in:
Jan
2026-06-16 09:50:34 +02:00
committed by GitHub
parent b2aa4749c1
commit 8dba13f913
41 changed files with 352 additions and 1116 deletions
+8 -4
View File
@@ -31,11 +31,15 @@ npm run dev
## How does it work
ModMan uses [`webview`](https://github.com/Laupetin/webview) for providing a web frontend as a native application.
Unlike frameworks like Electron this does not ship a browser engine alongside it, but instead relies on browser APIs of your OS.
On Windows, this makes use of [WebView2](https://learn.microsoft.com/en-us/microsoft-edge/webview2), on Linux it uses [WebKitGTK](https://webkitgtk.org).
ModMan uses [`webwindowed`](https://github.com/Laupetin/webwindowed) for providing a web frontend as a native
application.
Unlike frameworks like Electron this does not ship a browser engine alongside it, but instead relies on browser APIs of
your OS.
On Windows, this makes use of [WebView2](https://learn.microsoft.com/en-us/microsoft-edge/webview2), on Linux it
uses [WebKitGTK](https://webkitgtk.org).
This adds the following dependencies:
- **Windows**: An up-to-date OS with at the very least Windows10. The WebView2 library for development is downloaded by premake.
- **Windows**: An up-to-date OS with at the very least Windows10. The WebView2 library for development is downloaded by
premake.
- **Linux**: Developing and using ModMan requires the following dependencies to be installed: `gtk4 webkitgtk-6.0`