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