Add some default values to code

This commit is contained in:
Robert Morrison 2022-06-20 03:46:13 +01:00
parent 2dc16d7c2d
commit 9e898f4f56
Signed by: robert
GPG Key ID: 73E012EB3F4EC696

View File

@ -29,6 +29,22 @@ class Program
static int Main(string[] args) static int Main(string[] args)
{ {
// Default values
List<string> _verbatimFileTypes = new List<string>{ // file extenstions we want to have copied verbatim
"html", // Premade html pages
"css", // Style Sheets
// IMAGE TYPES TODO: add webp conversion for most images.
"jpg",
"png",
"webp",
"gif"
};
// TODO: Make this a dictionary/tuple to show a FROM -> TO filetype relationship (Possibly with program)
List<string> _conversionTypes = new List<string>{ // file extenstions we want to convert to html
"md"
};
// Get the current versiion number // Get the current versiion number
string? version = Assembly.GetEntryAssembly()?.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion; string? version = Assembly.GetEntryAssembly()?.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion;