Closed OssieFromDK closed 11 months ago
Following User Agent worked for me.
AutoUpdater.HttpUserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36";
Also, I have to change following code because assets is an array.
args.UpdateInfo = new UpdateInfoEventArgs
{
CurrentVersion = json.tag_name,
DownloadURL = json.assets[0].browser_download_url,
};
Works, thanks :)
I have the following code, but the event is never triggered, and nothing happens, I read online the UserAgent had to be the username of the github user or smth, but I also tried just taking the ones from google, but still nothing.
Any ideas? I looked at this: https://github.com/ravibpatel/AutoUpdater.NET/issues/296 but, I still can't seem to get it working.