Plugin updater

From Miranda NG
Revision as of 14:31, 31 December 2017 by Goraf (talk | contribs) (Imported translation using page migration)

Plugin:PluginUpdater/ru
Jump to navigation Jump to search
Other languages:
Plugin updater
Plugin updater
Имя файла PluginUpdater.dll
Авторы Mataes, George Hazan
Скачать
Стабильная версия: 32-bit, 64-bit
Версия в разработке: 32-bit, 64-bit

Примечание
Не следует путать с плагином IM Updater для Miranda IM.

Установка и обновление плагинов и других компонентов Miranda NG (значков и языковых пакетов).

Выбор версии

Изменить источник обновления (например, переключиться со стабильной версии Миранды на версию в разработке) можно в настройках плагина: Настройки → Службы → Обновление плагинов. Доступны следующие опции:

  • Стабильная версия — выпускается «when it is ready», обычно раз в 1–2 месяца.
  • Версия в разработке (менее стабильна) — обновляется чаще; вы сможете раньше попробовать новый функционал.
  • Версия в разработке с отладочными символами — используйте эту версию для создания краш-репортов.
  • Заданная пользователем версия — для сборщиков: в настройках можно указать свой URL для проверки обновлений плагином. При этом вы становитесь ответственными за своевременное обновление хранилища плагинов.
Компоненты для установки

Adding plugins and components

PluginUpdater allows to download and install several plugins at once.

  • Go to Main menu → Available components list.
  • Select additional plugins, a langpack or icon sets to install (see the screenshot). Clicking on "Information" icon will open the plugin's wiki page in your browser.
  • Click Download button.

How it works

This plugin compares hashes of the installed plugins with those on the server and if they differ, downloads archived updates and replaces the local copy.

It should be noted that PluginUpdater doesn't check plugins' versions nor their compilation dates. So if you compile a plugin by yourself (or somebody does and shares it with you), PluginUpdater will still download its "older" version from the server. This was done on purpose to avoid problems with plugins from doubtful sources.

Special algorithm for calculating plugins' hashes ignores information about DLL compilation time (which is also written to DLL). Thus a plugin compiled from the same source code with the same compiler but at different time will have the same hash for PluginUpdater but different one for ordinary MD5 calculation tools.

Tips and tricks

  1. PluginUpdater remembers user's choice of the components in the list of updates. If you have a custom langpack or an icon set (e.g. Proto_Jabber.dll) which you don't want to update, uncheck the corresponding items in the list. You need to do this once, those components will remain unchecked during the next updates and thus won't get updated.
  2. If you set the key of Байт type PluginUpdater/RestartCurrentProfile = 0, the plugin will restart Miranda to Profile manager (revision 3346). PluginUpdater restarts Miranda to current profile by default.