feature: first
All checks were successful
Build / Compute Version (push) Successful in 4s
Build / Build Nuget package (CringeBootstrap.Abstractions) (push) Successful in 2m47s
Build / Build Nuget package (CringePlugins) (push) Successful in 5m31s
Build / Build Nuget package (NuGet) (push) Successful in 6m2s
Build / Build Nuget package (SharedCringe) (push) Successful in 7m25s
Build / Build Launcher (push) Successful in 9m11s

This commit is contained in:
zznty
2022-10-28 01:58:54 +07:00
commit aa979e9519
81 changed files with 6162 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,9 @@
using System.Reflection;
namespace CringeBootstrap.Abstractions;
public interface ICoreLoadContext
{
Assembly? ResolveFromAssemblyName(AssemblyName assemblyName);
nint ResolveUnmanagedDll(string unmanagedDllName);
}

View File

@@ -0,0 +1,7 @@
namespace CringeBootstrap.Abstractions;
public interface ICorePlugin : IDisposable
{
void Initialize(string[] args);
void Run();
}

View File

@@ -0,0 +1,7 @@
{
"version": 1,
"dependencies": {
"net8.0": {},
"net8.0/win-x64": {}
}
}