forked from sim0n00ps/OF-DL
48 lines
1.0 KiB
C#
48 lines
1.0 KiB
C#
namespace OF_DL.Models;
|
|
|
|
public class StartupResult
|
|
{
|
|
public bool IsWindowsVersionValid { get; set; } = true;
|
|
|
|
public string? OsVersionString { get; set; }
|
|
|
|
public bool FfmpegFound { get; set; }
|
|
|
|
public bool FfmpegPathAutoDetected { get; set; }
|
|
|
|
public string? FfmpegPath { get; set; }
|
|
|
|
public string? FfmpegVersion { get; set; }
|
|
|
|
public bool FfprobeFound { get; set; }
|
|
|
|
public bool FfprobePathAutoDetected { get; set; }
|
|
|
|
public string? FfprobePath { get; set; }
|
|
|
|
public string? FfprobeVersion { get; set; }
|
|
|
|
public bool ClientIdBlobMissing { get; set; }
|
|
|
|
public bool DevicePrivateKeyMissing { get; set; }
|
|
|
|
public bool RulesJsonValid { get; set; }
|
|
|
|
public bool RulesJsonExists { get; set; }
|
|
|
|
public string? RulesJsonError { get; set; }
|
|
}
|
|
|
|
public class VersionCheckResult
|
|
{
|
|
public Version? LocalVersion { get; set; }
|
|
|
|
public Version? LatestVersion { get; set; }
|
|
|
|
public bool IsUpToDate { get; set; }
|
|
|
|
public bool CheckFailed { get; set; }
|
|
|
|
public bool TimedOut { get; set; }
|
|
}
|