From 9e898f4f560e125787c511a2708a4acb46174393 Mon Sep 17 00:00:00 2001 From: Robert Morrison Date: Mon, 20 Jun 2022 03:46:13 +0100 Subject: [PATCH] Add some default values to code --- Program.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Program.cs b/Program.cs index a1b6a09..bef80d7 100644 --- a/Program.cs +++ b/Program.cs @@ -29,6 +29,22 @@ class Program static int Main(string[] args) { + // Default values + List _verbatimFileTypes = new List{ // 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 _conversionTypes = new List{ // file extenstions we want to convert to html + "md" + }; + + // Get the current versiion number string? version = Assembly.GetEntryAssembly()?.GetCustomAttribute()?.InformationalVersion;