private static void Bootstrapper_Destroyed() { // wait for plugins to finish loading pluginAsyncLoadTask.Wait(); log.Debug("Plugins loaded"); log.Debug(string.Join(", ", PluginLoader.PluginsMetadata)); PluginComponent.Create(); }
private static void Bootstrapper_Destroyed() { // wait for plugins to finish loading pluginAsyncLoadTask?.Wait(); permissionFixTask?.Wait(); Default.Debug("Plugins loaded"); Default.Debug(string.Join(", ", PluginLoader.PluginsMetadata.StrJP())); _ = PluginComponent.Create(); }
private static void Bootstrapper_Destroyed() { // wait for plugins to finish loading pluginAsyncLoadTask.Wait(); permissionFixTask.Wait(); BeatSaber.EnsureRuntimeGameVersion(); log.Debug("Plugins loaded"); log.Debug(string.Join(", ", PluginLoader.PluginsMetadata.StrJP())); PluginComponent.Create(); }
private static void Bootstrapper_Destroyed() { // wait for plugins to finish loading pluginAsyncLoadTask.Wait(); permissionFixTask.Wait(); log.Debug("Plugins loaded"); log.Debug(string.Join(", ", PluginLoader.PluginsMetadata.StrJP())); PluginComponent.Create(); #if DEBUG Config.Stores.GeneratedStoreImpl.DebugSaveAssembly("GeneratedAssembly.dll"); #endif }
/* * [DllImport("kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)] * [return: MarshalAs(UnmanagedType.Bool)] * static extern bool SetDllDirectory(string lpPathName); */ private static void Bootstrapper_Destroyed() { PluginComponent.Create(); }