Main Method

This commit is contained in:
glax 2024-01-13 21:43:32 +01:00
parent f3fd128173
commit bf2acf6835
3 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,14 @@
namespace OpenCS2hock;
public class OpenCS2hock
{
private GSIServer GSIServer { get; init; }
public OpenCS2hock()
{
GSIServer gsiServer;
Installer.InstallGsi();
this.GSIServer = new GSIServer(3000);
this.GSIServer.Dispose();
}
}

View File

@ -8,4 +8,19 @@
<RootNamespace>OpenCS2Hock</RootNamespace>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Update="Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Compile Update="Resources.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>
</Project>

View File

@ -4,6 +4,6 @@ public class Program
{
public static void Main(string[] args)
{
new OpenCS2hock();
}
}