forked from zombieb/undead-universal-patch-il2cpp
Move Galvanic support to different namespace
This commit is contained in:
11
Plugin.cs
11
Plugin.cs
@@ -1,4 +1,5 @@
|
||||
using BepInEx;
|
||||
using AmplitudeAnalytics;
|
||||
using BepInEx;
|
||||
using BepInEx.Logging;
|
||||
using BepInEx.Unity.IL2CPP;
|
||||
using HarmonyLib;
|
||||
@@ -65,10 +66,10 @@ public class Plugin : BasePlugin
|
||||
if (GalvanicConfig.RegenerateKeypair.Value)
|
||||
{
|
||||
Log.LogInfo("Regenerating keypair");
|
||||
GalvanicAuth.PrepareKeys();
|
||||
Galvanic.GalvanicAuth.PrepareKeys();
|
||||
}
|
||||
if (GalvanicConfig.Export.Value == "IWantToExportMyKeys") GalvanicAuth.Export();
|
||||
if (GalvanicConfig.Import.Value) GalvanicAuth.Import();
|
||||
if (GalvanicConfig.Enabled.Value) GalvanicWebAuth.GetToken();
|
||||
if (GalvanicConfig.Export.Value == "IWantToExportMyKeys") Galvanic.GalvanicAuth.Export();
|
||||
if (GalvanicConfig.Import.Value) Galvanic.GalvanicAuth.Import();
|
||||
if (GalvanicConfig.Enabled.Value) Galvanic.GalvanicWebAuth.GetToken();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user