mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 14:23:40 +01:00
Add Nuke Build (and temporary nuke Dalamud, heh)
This commit is contained in:
parent
c6a9879498
commit
b262fd7e9d
122 changed files with 287 additions and 7894 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using System.Buffers.Binary;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Dalamud.Bootstrap.Crypto
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue