mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-23 22:16:08 +00:00
* 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
23 lines
781 B
C#
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;
|
|
}
|
|
}
|
|
}
|