check updates before patching
This commit is contained in:
@@ -66,12 +66,12 @@ 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
|
#if !DEBUG
|
||||||
CheckUpdates(args).GetAwaiter().GetResult();
|
CheckUpdates(args).GetAwaiter().GetResult();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
_harmony.PatchAll(typeof(Launcher).Assembly);
|
||||||
|
|
||||||
var splash = new Splash();
|
var splash = new Splash();
|
||||||
|
|
||||||
splash.DefineStage(_lifetime = new PluginsLifetime(Path.GetDirectoryName(args[0])!));
|
splash.DefineStage(_lifetime = new PluginsLifetime(Path.GetDirectoryName(args[0])!));
|
||||||
|
Reference in New Issue
Block a user