From 327d90945d8a0c3e21562f2e74bdd1bd10fa3b89 Mon Sep 17 00:00:00 2001 From: aevitas Date: Fri, 11 Oct 2019 20:15:04 +0200 Subject: [PATCH] Change runtime to netcore 3 --- Patcher/Patcher.csproj | 6 +++++- Patcher/Program.cs | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Patcher/Patcher.csproj b/Patcher/Patcher.csproj index e84d6a9..88064a0 100644 --- a/Patcher/Patcher.csproj +++ b/Patcher/Patcher.csproj @@ -2,8 +2,12 @@ Exe - netcoreapp2.1 + netcoreapp3.0 latest + + + + diff --git a/Patcher/Program.cs b/Patcher/Program.cs index 4948525..188335b 100644 --- a/Patcher/Program.cs +++ b/Patcher/Program.cs @@ -12,7 +12,7 @@ class Program private static readonly byte[] _lightPattern = { 0x74, 0x04, 0x33, 0xC0, 0xEB, 0x02, 0x8B, 0x07 }; private static readonly byte[] _darkPattern = { 0x75, 0x04, 0x33, 0xC0, 0xEB, 0x02, 0x8B, 0x07 }; - static void Main(string[] args) + internal static void Main(string[] args) { var themeName = string.Empty; var help = false; @@ -21,8 +21,8 @@ static void Main(string[] args) var optionSet = new OptionSet { {"theme=|t=", "The theme to be applied to the Unity.", v => themeName = v}, - {"exe=|e=", "The location of the Unity Editor executable.", v => fileLocation = v}, - { "help|h", v => help = v != null } + {"exe=|e=", "The location of the Unity Editor executable.", v => fileLocation = v}, + {"help|h", v => help = v != null} }; string error = null;