cleanup
This commit is contained in:
parent
6d086205d4
commit
f7800dfb11
@ -22,7 +22,6 @@ namespace Katteker
|
||||
[DataMember]
|
||||
public string Changelog { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Read file and deserialize content.
|
||||
/// </summary>
|
||||
@ -36,7 +35,7 @@ namespace Katteker
|
||||
using (var fileStream = File.OpenRead(path))
|
||||
{
|
||||
var obj = dataContractJsonSerializer.ReadObject(fileStream);
|
||||
return (KattekerConfig) obj;
|
||||
return (KattekerConfig)obj;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using Semver;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text.RegularExpressions;
|
||||
using Semver;
|
||||
|
||||
namespace Katteker
|
||||
{
|
||||
@ -59,26 +59,32 @@ namespace Katteker
|
||||
/// Version
|
||||
/// </summary>
|
||||
public SemVersion Version { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Hashsum of the file.
|
||||
/// </summary>
|
||||
public string SHA1 { get; }
|
||||
|
||||
/// <summary>
|
||||
/// filename
|
||||
/// </summary>
|
||||
public string Filename { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Size of the file.
|
||||
/// </summary>
|
||||
public long Filesize { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Is true if the update is delta file. False otherwise.
|
||||
/// </summary>
|
||||
public bool IsDelta { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Name of the application.
|
||||
/// </summary>
|
||||
public string ApplicationName { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Format the release entry as line for release file.
|
||||
/// </summary>
|
||||
|
Loading…
x
Reference in New Issue
Block a user