Add Nuke Build (and temporary nuke Dalamud, heh)

This commit is contained in:
Mino 2020-03-12 20:23:47 +09:00
parent c6a9879498
commit b262fd7e9d
122 changed files with 287 additions and 7894 deletions

View file

@ -1,4 +1,5 @@
using System;
using System.Buffers.Binary;
using System.Runtime.CompilerServices;
namespace Dalamud.Bootstrap.Crypto

View file

@ -5,8 +5,13 @@
<LangVersion>preview</LangVersion>
<nullable>enable</nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources> <!-- Required by CoreHook to build -->
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Resources.Extensions" Version="4.7.0" /> <!-- Required by CoreHook to build -->
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\lib\CoreHook\src\CoreHook.BinaryInjection\CoreHook.BinaryInjection.csproj" />
</ItemGroup>

View file

@ -26,14 +26,14 @@ namespace Dalamud.Bootstrap.SqexArg
}
var checksum = argument[^5];
var payload = argument[11..^5]
.Replace(; // encoded in url-safe variant of base64
var payload = argument[11..^5];
// decode
Convert.FromBase64String();
container = new ArgumentContainer(payload, checksum);
//Convert.FromBase64String();
//container = new ArgumentContainer(payload, checksum);
container = null;
return true;
}
}