Exemple #1
0
        public void manageInstalledPlugins()
        {
            var loadedInstructions = ManagePluginInstructions.restore(MedicalConfig.PluginConfig.PluginsFolder);

            if (loadedInstructions != null)
            {
                loadedInstructions.process();
                loadedInstructions.deletePersistantFile();
            }
        }
Exemple #2
0
        public AtlasPluginManager(StandaloneController standaloneController)
        {
            requiredAssemblyVersion              = standaloneController.GetType().Assembly.GetName().Version;
            this.standaloneController            = standaloneController;
            standaloneController.SceneLoaded    += standaloneController_SceneLoaded;
            standaloneController.SceneUnloading += standaloneController_SceneUnloading;

            additionalSearchPath = FolderFinder.ExecutableFolder;

            AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(FindArtworkPluginAssembly);

            managePluginInstructions = new ManagePluginInstructions(MedicalConfig.PluginConfig.PluginsFolder);

            resourceManager = PluginManager.Instance.createLiveResourceManager("Plugins");
        }