mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-16 21:07:43 +01:00
Change encArg impl
This commit is contained in:
parent
349ba01572
commit
bda6b9a822
3 changed files with 98 additions and 99 deletions
|
|
@ -94,11 +94,15 @@ namespace Dalamud.Bootstrap
|
|||
throw new BootstrapException($"Process id {process.Id} does not have any arguments to parse.");
|
||||
}
|
||||
|
||||
if (EncryptedArgument.Extract(arguments[0], out var encryptedPayload, out var _))
|
||||
var argument = arguments[0];
|
||||
|
||||
if (EncryptedArgument.TryParse(argument, out var encryptedArgument))
|
||||
{
|
||||
var key = RecoverKey(process);
|
||||
EncryptedArgument.Decry(encryptedPayload, key)
|
||||
//
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue