-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Distribute Electron app via Microsoft Store #329
Comments
As a step towards this issue, I am now building a nightly signed Electron appx version. This installs a containerized version of the Electron app in Windows 10 and 11, and can be installed simply by double-clicking the archive. It is slightly larger than the .exe version, but that is not much of a concern if distributed via the Store. |
I've submitted a test version to the MS Store. Awaiting certification. |
Now available in the MS Store for testing, only using this link:
Store apps can only be installed on Windows 10 and 11. |
There is now a test WikiMed appx version here: https://github.com/kiwix/kiwix-js-windows/releases/download/v2.5.0-WikiMed/WikiMed.by.Kiwix.2.5.1-E.appx. I haven't made a new MS Store entry for this yet, because I'm wondering if I can re-use the existing entry, and offer this as an upgrade. The idea is that users with appropriate hardware would get the Electron version, and users with less capable hardware would get the UWP version... But it may be the case that the entry is tied to a specific app type. I need to experiment. |
Once it has passed Certiifcation, the Microsoft Store should be serving the Electron-based appx to users with x64 Windows as a seamless upgrade. Xbox, mixed reality and Windows Mobile users will continue to get an updated legacy appxbundle. |
This is now working well. |
As the old UWP app falls behind technologically, due to its outdated Edge Legacy webview, it would be good to provide an upgrade path for those using the Microsoft Store to get this app.
Electron apps can be distributed via the MS Store. See https://www.electronjs.org/docs/latest/tutorial/windows-store-guide. Electron-Builder has msix/appx as a build target. The main difficulty is that it's a pain to publish to the MS Store due to lack of an automated API (supposedly in development) and need to upload packages manually. The WikiMed/Wikivoyage ones are quite heavy.
Advantage for end-users is automatic update of WikiMed and Wikivoyage apps, as these are currently too unwieldy to use Electron-Builder's update mechanism, which consumes too much user bandwidth in an uncontrolled manner (doesn't obey metered connection, etc.). Having the OS do the update following users' stipulations about metered connections would be more user-friendly.
Automatic updates (via the Electron-Builder mechanism) are currently only enabled for the base app, but not for WikiMed or Wikivoyage.
The text was updated successfully, but these errors were encountered: