Plugin:PluginUpdater/ru: Difference between revisions

From Miranda NG
Plugin:PluginUpdater/ru
Jump to navigation Jump to search
(angle quotes, {{Menu}}, {{Button}})
(Updating to match new version of source page)
Line 1: Line 1:
{{PluginCard}}
<languages/>{{PluginCard}}
{{Note|Не следует путать с плагином {{Plugin|IM Updater}} для '''Miranda IM'''.}}
{{TNT|Note|This plugin should not be confused with {{Plugin|IM Updater}} plugin for '''Miranda IM'''.}}


Установка и обновление плагинов и других компонентов Miranda NG (значков и {{GlossLink|Языковой пакет|языковых пакетов}}).
Installs and updates plugins and other Miranda NG components (icon and {{GlossLink|Language pack|language packs}}).


__TOC__


__TOC__
== Version choice ==


== Выбор версии ==
You can choose among {{GlossLink|Stable version|stable}} and {{GlossLink|development version}} in {{Menu|Options|Services|Plugin Updater}} under ''Files source'' section. There are the following settings there:
Изменить источник обновления (например, переключиться со {{GlossLink|Стабильная версия|стабильной версии}} Миранды на {{GlossLink|Версия в разработке|версию в разработке}}) можно в настройках плагина: {{Menu|Настройки|Службы|Обновление плагинов}}. Доступны следующие опции:
* '''Stable version''' is released "when it is ready", about once in 1–2 months.
* '''Стабильная версия''' — выпускается «when it is ready», обычно раз в 1–2 месяца.
* '''Development version (less stable)''' is updated more often so you'll be able to take advantage of new features sooner.
* '''Версия в разработке (менее стабильна)''' — обновляется чаще; вы сможете раньше попробовать новый функционал.
* '''Development version with debug symbols''' – use this one if you are going to make a [[Crash reports|crash report]].
* '''Версия в разработке с отладочными символами''' — используйте эту версию для создания [[Создание краш-репортов|краш-репортов]].
* '''Custom version''' is for pack creators: if you distribute '''your own''' Miranda pack, select this one and set your URL for PluginUpdater to download updates from. In this case you become responsible for keeping your repository of plugins up-to-date.
* '''Заданная пользователем версия''' — для сборщиков: в настройках можно указать свой URL для проверки обновлений плагином. При этом вы становитесь ответственными за своевременное обновление хранилища плагинов.


[[File:PluginUpdater 01.png|200px|thumb|Component list]]
== Adding plugins and components ==


[[File:PluginUpdater 01.png|200px|thumb|Компоненты для установки]]
PluginUpdater allows to download and install several plugins at once.
== Установка плагинов и компонентов ==
* Go to {{Menu|Main menu|Available components list}}.
PluginUpdater позволяет загружать и устанавливать несколько плагинов за раз:
* 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.
* В окне «Список компонентов» отметьте плагины, лангпак или наборы значков, которые вы желаете установить. Нажатие на значок «Информация» откроет вики-страницу плагина в браузере.
* Нажмите кнопку {{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.
PluginUpdater сравнивает хеши плагинов с хешами на сервере, в случае расхождения — закачивает архив с сервера и заменяет локальную копию.


Стоит отметить, что нет проверок на версии и даты плагинов. Соответственно, если вы сами собрали или откуда-то взяли более свежую версию, PluginUpdater всё равно скачает модуль с сервера, даже если он «старее». Это было сделано сознательно, для исключения проблем у пользователей с плагинами из неизвестных источников.
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.


Хеши плагинов считаются по специальному алгоритму, исключающему информацию о времени компиляции dll (которая также пишется в dll). Таким образом, плагин, скомпилированный одним компилятором из одних исходников в разное время, будет иметь один хеш для PluginUpdater, но разные в случае подсчёта стандартными утилитами подсчёта MD5.
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 ==


== Приёмы работы и советы ==
# 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. <tt>Proto_Jabber.dll</tt>) 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.
# PluginUpdater запоминает пользовательский выбор компонентов в списке обновлений. Если у вас собственный лангпак или наборы значков (например, <tt>Proto_Jabber.dll</tt>), которые вы не хотите обновлять, — просто снимите галки с соответствующих компонентов. При следующих обновлениях эти компоненты останутся неотмеченными и не будут обновляться.
# If you set the key of <tt>{{L10n:DBTypes|byte|lang={{PageLangCode}}}}</tt> type {{DBKey|PluginUpdater|RestartCurrentProfile|0}}, the plugin will restart Miranda to [[Profile management|Profile manager]] ({{Rev|3346|revision 3346}}). PluginUpdater restarts Miranda to current profile by default.
# Начиная с {{Rev|3346|ревизии 3346}} в плагине появилась возможность при перезагрузке открывать окно выбора профиля. Для этого необходимо создать ключ {{DBKey|PluginUpdater|RestartCurrentProfile|0}}. По умолчанию, плагин перегружает Миранду в текущий профиль.


{{PluginGroups}}
{{PluginGroups}}

Revision as of 14:14, 31 December 2017

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

Примечание
This plugin should not be confused with IM Updater plugin for Miranda IM.

Installs and updates plugins and other Miranda NG components (icon and language packs).

Version choice

You can choose among stable and development version in Options → Services → Plugin Updater under Files source section. There are the following settings there:

  • Stable version is released "when it is ready", about once in 1–2 months.
  • Development version (less stable) is updated more often so you'll be able to take advantage of new features sooner.
  • Development version with debug symbols – use this one if you are going to make a crash report.
  • Custom version is for pack creators: if you distribute your own Miranda pack, select this one and set your URL for PluginUpdater to download updates from. In this case you become responsible for keeping your repository of plugins up-to-date.
Component list

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.