Esempio n. 1
0
        private void UpdateReleasedAsPatchPluginDataVersion(PublishingVersionInfo info, PluginVersion version, string path)
        {
            string pluginDataPath = string.Format(@"{0}\Program\Plugins\{1}\plugin.data", path, version.PluginData.Id);

            if (System.IO.File.Exists(pluginDataPath))
            {
                PluginData pluginData = PluginData.Load(version, pluginDataPath);
                pluginData.Version = info.ReleaseVersion;
                pluginData.SaveLocal(pluginDataPath);
            }
        }