Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebView2 shell initial release #1

Open
10 of 18 tasks
Ivshti opened this issue Jul 4, 2021 · 0 comments
Open
10 of 18 tasks

WebView2 shell initial release #1

Ivshti opened this issue Jul 4, 2021 · 0 comments
Assignees

Comments

@Ivshti
Copy link
Member

Ivshti commented Jul 4, 2021

Related to https://github.com/Stremio/labs/issues/24 and more specifically this

build a shell version specifically for Windows using webview2, starting from this prototype: TODO

TODO:

  • IPC communication primitives; does not have to be compatible with the old shell, as we can easily adapt the front-end JS, but it needs to be bidirectional and asynchronous message passing
  • Implement all the MPV-related IPC commands and events
  • Caching,and persistence: https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/user-data-folder
  • Launch server.js and set the process as a job
  • WebView2 settings: disable zoom, status bar, default ctx menu, etc.
  • Autoupdater: download the exe, verify it and execute it on demand
  • Inhibit screensaver while playing (SetThreadExecutionState)
  • Full screen
  • Tray icon
  • Hide the webview2 while it's not needed through an IPC signal (set_visible(false)); then show it again on user interactions (mouse move, window resize or status change)
  • Auto install webview2 if needed: https://github.com/sopium/webview2/blob/751bc32464bf9775516efe392612f0002cb227a3/examples/win32.rs#L37
  • Drag and drop
  • Ability to be used for opening files (arg1?)

Other things to consider:

@Ivshti Ivshti transferred this issue from Stremio/stremio-shell Jul 5, 2021
@Ivshti Ivshti changed the title WebView2 shell WebView2 shell initial release Dec 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants