1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-08-18 13:31:41 +02:00
Files
Configuration
Core
Controls
Handling
Other
Utils
BrowserUtils.cs
UpdateInfo.cs
FormBrowser.Designer.cs
FormBrowser.cs
FormNotification.Designer.cs
FormNotification.cs
Libraries
Migration
Properties
Resources
.gitignore
LICENSE.md
Program.cs
README.md
TweetDck.csproj
TweetDck.sln
_postbuild.bat
TweetDuck/Core/Utils/UpdateInfo.cs

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;
}
}
}