Skip to content

Commit 327d909

Browse files
committed
Change runtime to netcore 3
1 parent ea21cf5 commit 327d909

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

Patcher/Patcher.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp2.1</TargetFramework>
5+
<TargetFramework>netcoreapp3.0</TargetFramework>
66
<LangVersion>latest</LangVersion>
77
</PropertyGroup>
88

9+
<ItemGroup>
10+
<Folder Include="Properties\PublishProfiles\" />
11+
</ItemGroup>
12+
913
</Project>

Patcher/Program.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Program
1212
private static readonly byte[] _lightPattern = { 0x74, 0x04, 0x33, 0xC0, 0xEB, 0x02, 0x8B, 0x07 };
1313
private static readonly byte[] _darkPattern = { 0x75, 0x04, 0x33, 0xC0, 0xEB, 0x02, 0x8B, 0x07 };
1414

15-
static void Main(string[] args)
15+
internal static void Main(string[] args)
1616
{
1717
var themeName = string.Empty;
1818
var help = false;
@@ -21,8 +21,8 @@ static void Main(string[] args)
2121
var optionSet = new OptionSet
2222
{
2323
{"theme=|t=", "The theme to be applied to the Unity.", v => themeName = v},
24-
{"exe=|e=", "The location of the Unity Editor executable.", v => fileLocation = v},
25-
{ "help|h", v => help = v != null }
24+
{"exe=|e=", "The location of the Unity Editor executable.", v => fileLocation = v},
25+
{"help|h", v => help = v != null}
2626
};
2727

2828
string error = null;

0 commit comments

Comments
 (0)