check updates before patching
This commit is contained in:
@@ -66,11 +66,11 @@ public class Launcher : ICorePlugin
|
|||||||
//environment variable for viktor's plugins
|
//environment variable for viktor's plugins
|
||||||
Environment.SetEnvironmentVariable("SE_PLUGIN_DISABLE_METHOD_VERIFICATION", "True");
|
Environment.SetEnvironmentVariable("SE_PLUGIN_DISABLE_METHOD_VERIFICATION", "True");
|
||||||
|
|
||||||
_harmony.PatchAll(typeof(Launcher).Assembly);
|
#if !DEBUG
|
||||||
|
CheckUpdates(args).GetAwaiter().GetResult();
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !DEBUG
|
_harmony.PatchAll(typeof(Launcher).Assembly);
|
||||||
CheckUpdates(args).GetAwaiter().GetResult();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
var splash = new Splash();
|
var splash = new Splash();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user