Blazor WebAssembly PWA 是否可以 运行 用户文件系统上的本地桌面应用程序?
Is it possible for a Blazor WebAssembly PWA to run a local desktop app on the user's file system?
我真的很怀疑,但我想问问也没什么坏处...我想做的是创建一个能够从网络应用程序中启动实际游戏的游戏配对网站。如果不是,我想我可以创建一个 client/server 桌面应用程序或其他东西...
不,PWA 沙箱禁止它。
您可以尝试构建一个运行 Blazor WASM 的 Electron 应用程序 - https://github.com/aspnet/AspLabs/tree/master/src/ComponentsElectron
或者您可以尝试以下 link。它做了类似的事情,但没有捆绑浏览器以减小尺寸 - https://github.com/steveSandersonMS/BlazorDesktop
史蒂夫·桑德森 (Steve Sanderson) 在上面写了一篇内容丰富的博客
https://blog.stevensanderson.com/2019/11/01/exploring-lighter-alternatives-to-electron-for-hosting-a-blazor-desktop-app/
我真的很怀疑,但我想问问也没什么坏处...我想做的是创建一个能够从网络应用程序中启动实际游戏的游戏配对网站。如果不是,我想我可以创建一个 client/server 桌面应用程序或其他东西...
不,PWA 沙箱禁止它。
您可以尝试构建一个运行 Blazor WASM 的 Electron 应用程序 - https://github.com/aspnet/AspLabs/tree/master/src/ComponentsElectron
或者您可以尝试以下 link。它做了类似的事情,但没有捆绑浏览器以减小尺寸 - https://github.com/steveSandersonMS/BlazorDesktop
史蒂夫·桑德森 (Steve Sanderson) 在上面写了一篇内容丰富的博客 https://blog.stevensanderson.com/2019/11/01/exploring-lighter-alternatives-to-electron-for-hosting-a-blazor-desktop-app/