mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-05-24 23:34:05 +02:00
16 lines
455 B
C#
16 lines
455 B
C#
using TweetDck.Core.Utils;
|
|
|
|
namespace TweetDck.Updates{
|
|
class UpdateInfo{
|
|
public readonly string VersionTag;
|
|
public readonly string DownloadUrl;
|
|
|
|
public string FileName => BrowserUtils.GetFileNameFromUrl(DownloadUrl) ?? Program.BrandName+".Update.exe";
|
|
|
|
public UpdateInfo(string versionTag, string downloadUrl){
|
|
this.VersionTag = versionTag;
|
|
this.DownloadUrl = downloadUrl;
|
|
}
|
|
}
|
|
}
|