From 1e561ccea3659a1db8886d64b3794410b1585387 Mon Sep 17 00:00:00 2001 From: jvyden Date: Mon, 18 Oct 2021 11:32:47 -0400 Subject: [PATCH] Add MacOS GUI support --- .../inspectionProfiles/Project_Default.xml | 36 +++++++++++++++++++ UnionPatcher.Gui.MacOS/Program.cs | 7 ++++ .../UnionPatcher.Gui.MacOS.csproj | 16 +++++++++ UnionPatcher.sln | 7 ++++ 4 files changed, 66 insertions(+) create mode 100644 .idea/.idea.UnionPatcher/.idea/inspectionProfiles/Project_Default.xml create mode 100644 UnionPatcher.Gui.MacOS/Program.cs create mode 100644 UnionPatcher.Gui.MacOS/UnionPatcher.Gui.MacOS.csproj diff --git a/.idea/.idea.UnionPatcher/.idea/inspectionProfiles/Project_Default.xml b/.idea/.idea.UnionPatcher/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..496299c --- /dev/null +++ b/.idea/.idea.UnionPatcher/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,36 @@ + + + + \ No newline at end of file diff --git a/UnionPatcher.Gui.MacOS/Program.cs b/UnionPatcher.Gui.MacOS/Program.cs new file mode 100644 index 0000000..fcb78c2 --- /dev/null +++ b/UnionPatcher.Gui.MacOS/Program.cs @@ -0,0 +1,7 @@ +namespace UnionPatcher.Gui.MacOS { + public static class Program { + public static void Main() { + Gui.Show(); + } + } +} \ No newline at end of file diff --git a/UnionPatcher.Gui.MacOS/UnionPatcher.Gui.MacOS.csproj b/UnionPatcher.Gui.MacOS/UnionPatcher.Gui.MacOS.csproj new file mode 100644 index 0000000..11b4e39 --- /dev/null +++ b/UnionPatcher.Gui.MacOS/UnionPatcher.Gui.MacOS.csproj @@ -0,0 +1,16 @@ + + + + Exe + net5.0 + + + + + + + + + + + diff --git a/UnionPatcher.sln b/UnionPatcher.sln index ee2f48d..b8514e8 100644 --- a/UnionPatcher.sln +++ b/UnionPatcher.sln @@ -10,6 +10,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Gui", "Gui", "{59194212-45B EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnionPatcher", "UnionPatcher\UnionPatcher.csproj", "{1CEC657B-5C05-44FB-941B-3C41411A7BB8}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnionPatcher.Gui.MacOS", "UnionPatcher.Gui.MacOS\UnionPatcher.Gui.MacOS.csproj", "{DF1F0B76-FC45-41D5-B11C-9DDC620BE0F3}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -32,10 +34,15 @@ Global {1CEC657B-5C05-44FB-941B-3C41411A7BB8}.Debug|Any CPU.Build.0 = Debug|Any CPU {1CEC657B-5C05-44FB-941B-3C41411A7BB8}.Release|Any CPU.ActiveCfg = Release|Any CPU {1CEC657B-5C05-44FB-941B-3C41411A7BB8}.Release|Any CPU.Build.0 = Release|Any CPU + {DF1F0B76-FC45-41D5-B11C-9DDC620BE0F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DF1F0B76-FC45-41D5-B11C-9DDC620BE0F3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DF1F0B76-FC45-41D5-B11C-9DDC620BE0F3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DF1F0B76-FC45-41D5-B11C-9DDC620BE0F3}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(NestedProjects) = preSolution {235B4DEC-11A0-42EF-9B8D-16529869ED1A} = {59194212-45BB-4A27-A08F-54DB6ADA26B3} {55DFA962-3EC5-44E4-9F93-FACF3E7EEBB2} = {59194212-45BB-4A27-A08F-54DB6ADA26B3} {5F8CDEA2-B483-40D1-B1FB-EF8EC667185A} = {59194212-45BB-4A27-A08F-54DB6ADA26B3} + {DF1F0B76-FC45-41D5-B11C-9DDC620BE0F3} = {59194212-45BB-4A27-A08F-54DB6ADA26B3} EndGlobalSection EndGlobal