mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
AutoUpdater.ChannelAsync_set #722
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @richardhauer on GitHub (Oct 30, 2021).
Originally assigned to: @GregorBiswanger on GitHub.
I'm using the AutoUpdater from a static HTTP source (Azure Blob storage) using the
genericprovider.I have updated the
electron.manifest.jsonas directed in the Electron docs, addingbuild.generateUpdatesFilesForAllChannels: trueand then set thebuild.buildVersion: 1.1.1-alpha.There is also a 'win' section...
I have noticed that setting the
channelabove when doing a build controls whether all three YML files (latest.yml,alpha.ymlandbeta.yml) are produced or justalphaoralphaandbeta.So all that seems to be what I'd have expected.
In the Electron documentation it says that to set the "appUpdater.channel" property to the channel that you want the updater to check. (https://www.electron.build/auto-update#module_electron-updater.AppUpdater+channel)
The AutoUpdater::ChannelAsync has a getter, but no setter for this purpose. AutoUpdater::AllowPrerelease is marked for the Github provider only.
Is there a reason there is no setter for the
ChannelAsyncproperty? Is there another way to use the Channel system?I have workarounds but I'd rather use the standard features where possible.
@GregorBiswanger commented on GitHub (Mar 28, 2023):
🎉🚀 New Electron.NET version 23.6.1 released 🚀🎉
With native Electron 23 and .NET 6 support. Your problem should be fixed here. If you continue to have the problem, please let us know. Please note the correct updating of your API & CLI. Info in the README. Have fun!