Files
PCK-Studio/PCK-Studio-Updater/API/GithubParams.cs
Miku-666 1e94d23281 Added new PCK-Studio Updater (#20)
* Added PCK-Studio-Updater project

* Updated PCK-Studio-Updater to be a standanlone executable and added checkbox for using beta builds in the settings panel

* Rename constant define '_NOT_DEBUG' to 'NDEBUG' and moved it to .csproj file
2023-10-08 15:00:01 +02:00

23 lines
781 B
C#

using System.Text.RegularExpressions;
namespace PCKStudio_Updater
{
public sealed class GithubParams
{
public readonly string RepositoryOwnerName;
public readonly string RepositoryName;
public readonly string TargetExecutableName;
public readonly bool UsePreRelease;
public readonly Regex VersionMatcher;
public GithubParams(string repositoryOwnerName, string repositoryName, string targetExecutableName, bool usePreRelease, Regex versionMatcher)
{
RepositoryOwnerName = repositoryOwnerName;
RepositoryName = repositoryName;
TargetExecutableName = targetExecutableName;
UsePreRelease = usePreRelease;
VersionMatcher = versionMatcher;
}
}
}