Skip to content

Commit

Permalink
Merge pull request #4 from aevitas/netcore3
Browse files Browse the repository at this point in the history
netcore 3.0
  • Loading branch information
aevitas authored Oct 11, 2019
2 parents ea21cf5 + 327d909 commit 0718a3d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion Patcher/Patcher.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
<TargetFramework>netcoreapp3.0</TargetFramework>
<LangVersion>latest</LangVersion>
</PropertyGroup>

<ItemGroup>
<Folder Include="Properties\PublishProfiles\" />
</ItemGroup>

</Project>
6 changes: 3 additions & 3 deletions Patcher/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit 0718a3d

Please sign in to comment.