mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-16 03:14:49 +08:00
Created CodeWalker.Core
This commit is contained in:
+8
-1
@@ -3889,7 +3889,14 @@ namespace CodeWalker
|
||||
|
||||
try
|
||||
{
|
||||
GTA5Keys.LoadFromPath(Settings.Default.GTAFolder); //now loads from magic
|
||||
GTA5Keys.LoadFromPath(Settings.Default.GTAFolder, Settings.Default.Key);
|
||||
|
||||
//save the key for later if it's not saved already. not really ideal to have this in this thread
|
||||
if (string.IsNullOrEmpty(Settings.Default.Key) && (GTA5Keys.PC_AES_KEY != null))
|
||||
{
|
||||
Settings.Default.Key = Convert.ToBase64String(GTA5Keys.PC_AES_KEY);
|
||||
Settings.Default.Save();
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user