mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-29 11:34:13 +02:00
18 lines
492 B
C#
18 lines
492 B
C#
namespace TweetDck.Core.Utils{
|
|
class UpdateInfo{
|
|
public readonly string VersionTag;
|
|
public readonly string DownloadUrl;
|
|
|
|
public string FileName{
|
|
get{
|
|
return BrowserUtils.GetFileNameFromUrl(DownloadUrl) ?? Program.BrandName+".Update.exe";
|
|
}
|
|
}
|
|
|
|
public UpdateInfo(string versionTag, string downloadUrl){
|
|
this.VersionTag = versionTag;
|
|
this.DownloadUrl = downloadUrl;
|
|
}
|
|
}
|
|
}
|