Mirandaboot.ini/ru: Difference between revisions

From Miranda NG
Mirandaboot.ini/ru
Jump to navigation Jump to search
(prepare for migration)
(Updating to match new version of source page)
Line 1: Line 1:
Файл '''<tt>Mirandaboot.ini</tt>''' содержит информацию, необходимую для запуска и работы программы, например путь к профилю.
<languages/>
<big>File '''mirandaboot.ini''' contains the information required to get Miranda NG up and running, i.e., everything before a database is loaded.</big>


== Оригинал файла ==
__TOC__


См.
== Content of the file ==
: ''See: [[mirandaboot.ini/Raw file|mirandaboot.ini]]''


== Описание параметров ==
== Description of parameters ==


Настройки расположения и загрузки {{GlossLink|Профиль|профиля}}.
=== [Database] ===
Settings related to the location and loading of the database.


Директория для поиска файлов базы данных. Если указать относительный путь, то он будет высчитываться от директории, в которой находится файл <tt>Miranda32.exe</tt> / <tt>Miranda64.exe</tt>. Можно использовать переменные окружения. В соответствии с руководствами по безопасности Windows, рекомендуется хранить свой профиль в <tt>%APPDATA%\Miranda NG</tt>.
==== ProfileDir ====
Allows you to specify the directory to search for database files. If it's a relative path then it's relative to the directory containing Miranda*.exe file. You can use environment variables. To comply with Windows security guidelines, it is recommended that you keep your profile in %APPDATA%\Miranda NG.


Если путь не указан, будет использоваться директория <tt>Profiles</tt> в корневом каталоге Miranda NG.
If you do not specify directory, then default will be used, which is <code>Profiles</code> subdirectory in Miranda NG root folder.
ProfileDir=




Когда показывать менеджер профилей при запуске.
==== ShowProfileMgr ====
Decides whether to show the profile manager on Miranda NG startup.


Возможные значения:
Accepts values:
* <code>never</code> — Show it only if the profile to use can't be guessed by any means.
* <code>yes</code> — Show it always.
* <code>smart</code> — (default) Show it if the command line doesn't contain a database name that exists or there is more or less than one database file in the [[#ProfileDir|ProfileDir]].
ShowProfileMgr=smart


Показывать только если не удалось определить профиль ни одним из способов.


Всегда показывать.
==== DefaultProfile ====
Name of the profile to use if there's a choice. It can contain environment variables, e.g., <code>%USERNAME%</code>.


(по умолчанию) Показывать, если командная строка не содержит имени существующего профиля или есть больше одного профиля в директории '''ProfileDir'''.
If Miranda is run with a command line parameter then that parameter is used instead of this setting.


If [[#ShowProfileMgr|ShowProfileMgr=never]] then this profile is run without a question. Otherwise the profile manager is run as usual but initially this profile is selected.


Имя профиля для загрузки, если есть выбор. Можно использовать переменные окружения, например <tt>%USERNAME%</tt>.
Default value: It is empty.
DefaultProfile=


Если Миранда запускается с указанием профиля в параметре командной строки, то эта настройка игнорируется. Если <tt>ShowProfileMgr=never</tt>, то загружается профиль, указанный здесь. В противном случае откроется менеджер профилей, в котором будет выбран этот профиль.


По умолчанию пустое
==== AutoCreate ====
Accepts values:
* <code>yes</code> — If [[#DefaultProfile|DefaultProfile]] setting or the command line parameter gives a profile name that doesn't exist then that profile is created.
* <code>no</code> — (default) The profile manager is shown in this case.
AutoCreate=no


Возможные значения:


Если '''DefaultProfile''' или параметр командной строки передаёт имя несуществующего профиля, то такой профиль будет создан.
==== RememberPassword ====
When set to <code>1</code> it will store password in Windows Credential Manager.


(по умолчанию) Открывается менеджер профилей.
Default value: <code>0</code>
RememberPassword=0




Если изменить значение на <tt>1</tt>, пароль профиля будет сохранён в диспетчере учётных записей Windows.
=== [AutoExec] ===
AutoExec is a system for batch addition of multiple settings to the database.
==== Use ====
Accepts values:
* <code>yes</code> — Install .ini files automatically.
* <code>no</code> — Disable the AutoExec system entirely.
* <code>prompt</code> — (default) Prompt the user before each installation. This setting doesn't affect the decision of whether to display further prompts.
Use=prompt


По умолчанию:


==== Glob ====
A global expression containing the files to watch for database settings. This will be checked just after database load and continuously all the time Miranda is running.


Пакетное добавления настроек из <tt>.ini</tt>-файла в {{GlossLink|Профиль|профиль (базу данных)}}.
If this contains a relative path, it's relative to the directory containing Miranda*.exe file.


Default value: <code>autoexec_*.ini</code>
Glob=autoexec_*.ini


Возможные значения:


Импортировать файлы <tt>*.ini</tt> автоматически.
==== Safe ====
A space-separated list of database module names known to be safe to alter.


Полностью отключить '''AutoExec'''.
Default value: <code>CLC Icons CLUI CList SkinSounds</code>
Safe=CLC Icons CLUI CList SkinSounds


(по умолчанию) Спрашивать пользователя каждый раз перед импортом. Эта настройка не влияет на вывод дальнейших запросов пользователю.


==== Unsafe ====
A space-separated list of database module names that could be altered for malicious purposes (e.g., by faking a login server to steal passwords).


Можно задать через выражение, какие файлы настроек надо отслеживать. Проверка будет осуществляться при загрузке профиля и постоянно во время работы Миранды. Если указать относительный путь, то он будет высчитываться от директории, в которой находится файл <tt>Miranda32.exe</tt> / <tt>Miranda64.exe</tt>.
Default value: <code>Facebook GG ICQ IRC JABBER MRA MSN SKYPE TWITTER VKontakte</code>
Unsafe=Facebook GG ICQ IRC JABBER MRA MSN SKYPE TWITTER


По умолчанию:


==== OverrideSecurityFilename ====
System administrators may find it desirable to install settings without prompting the user. In that case all prompts and security will be overridden if the name of the .ini file matches the name given here.


Разделенный пробелами список модулей в профиле, которые безопасно изменять.
If this is used, make sure it's suitably random and hence not likely to be downloaded.


По умолчанию:
Default value: It is empty (no override possible).
OverrideSecurityFilename=




Разделенный пробелами список модулей в профиле, которые могут быть изменены со злым умыслом (например, подмена адреса сервера авторизации, чтобы украсть пароль к учетной записи).
==== OnCreateFilename ====
Defines .ini file that will be executed every time new profile is created.


По умолчанию:
Default value: It is empty (no override possible).
OnCreateFilename=




Системным администраторам, к примеру, может понадобиться изменять настройки без ведома пользователя. Если имя <tt>.ini</tt>-файла совпадает с именем, указанным здесь, то все запросы и предуперждения не будут показаны пользователю.
==== Warn ====
Accepts values:
* <code>all</code> — Warn the user before each setting change is made.
* <code>notsafe</code> — (default) Warn before each change to a setting in a group that isn't listed in the [[#Safe|Safe]] setting.
* <code>onlyunsafe</code> — Warn before each change to a setting in a group that is listed in the [[#Unsafe|Unsafe]] setting.
* <code>none</code> — Never warn the user.
Warn=notsafe


В случае использования данной настройки, убедитесь, что заданное имя файла в достаточной степени уникально и не может быть случайно использовано в загружаемых файлах.


По умолчанию пустое (отключено)
==== OnCompletion ====
Defines what to do with the .ini file once it's imported.


Accepts values:
* <code>delete</code> — Delete the file from the disk.
* <code>recycle</code> — (default) Move the file to the recycle bin (same as delete if you've disabled Windows' recycle bin).
* <code>rename</code> — Add the string from the [[#RenamePrefix|RenamePrefix]] setting to the beginning of the filename.
* <code>leave</code> — Leave the file as-is. Note that this could cause it to be imported multiple times until it's moved.
* <code>ask</code> — Show a dialog to ask the user.
OnCompletion=recycle




Можно указать <tt>.ini</tt>-файл, который будет использоваться каждый раз при создании нового профиля.
==== RenamePrefix ====
A string to add before the filename if the <code>rename</code> option is used for [[#OnCompletion|OnCompletion]] setting. This can include a path specifier to move the file, e.g., <code>..\</code>


По умолчанию пустое (отключено)
Default value: <code>done_</code>
RenamePrefix=done_




=== [PluginLoader] ===
Settings that determine how plugins are loaded.


Возможные значения:
==== AskAboutIgnoredPlugins ====
When set to <code>1</code>, will ask if re-enable a disabled plugin.


Предупреждать пользователя перед изменением каждой настройки.
Default value: <code>0</code>
AskAboutIgnoredPlugins=0


(по умолчанию) Предупреждать перед изменением каждой настройки, если она не указана в группе '''Safe'''.


Предупреждать перед изменением каждой настройки, если она указана в группе '''Unsafe'''.
=== [Language] ===
Language related settings.


Никогда не предупреждать пользователя.
==== DefaultLanguage ====
Stores the name of the default language pack to be loaded at startup. If skipped, loads the first file that matches the <code>langpack_*.txt</code> mask.


Example: <code>DefaultLanguage=langpack_german.txt</code>


Что делать с <tt>.ini</tt>-файлом по завершении импорта в базу.
It also accepts value of:
* <code>default</code> — Built-in English language.


Возможные значения:
Default value: It is empty.
DefaultLanguage=


Удалить файл с диска.


(по умолчанию) Отправить файл в Корзину (то же что и <tt>delete</tt>, если Корзина отключена).
=== [Interface] ===
Interface related settings.
==== DpiAware ====
{{Strong|Experimental!}} Enables HiDPI ("Retina Display") support when set to <code>1</code>.


Добавить строку из '''RenamePrefix''' к началу имени файла.
Default value: <code>0</code>
DpiAware=0


Оставить без изменения. Внимание, это может привести к тому, что файл будет импортироваться до тех пор, пока он не будет перемещён.
[[Category: Pomoc]]
 
Показать диалог для выбора действия пользователем.
 
 
Строка, которая будет добавлена к имени файла, если <tt>OnCompletion=rename</tt>. Здесь может использоваться указатель пути для того, чтобы переместить файл (например, <tt>..\</tt>).
 
По умолчанию:
 
 
Можно указать, как обрабатывать отключённые плагины.
 
Если изменить значение на <tt>1</tt>, Миранда спросит пользователя, хочет ли он включить отключённые плагины.
 
По умолчанию:
 
 
Настройки языка интерфейса.
 
Имя {{GlossLink|Языковой пакет|языкового пакета}} для загрузки при старте программы. Если не указано, будет загружен первый файл, имя которого соответствует шаблону <tt>langpack_*.txt</tt>.
 
Пример:
 
Может также принимать значение:
 
Встроенный английский язык.
 
 
Настройки внешнего вида.
 
включает поддержку HiDPI ("Retina Display"). В разработке!
 
По умолчанию:

Revision as of 15:02, 8 April 2018

Other languages:

File mirandaboot.ini contains the information required to get Miranda NG up and running, i.e., everything before a database is loaded.

Content of the file

See: mirandaboot.ini

Description of parameters

[Database]

Settings related to the location and loading of the database.

ProfileDir

Allows you to specify the directory to search for database files. If it's a relative path then it's relative to the directory containing Miranda*.exe file. You can use environment variables. To comply with Windows security guidelines, it is recommended that you keep your profile in %APPDATA%\Miranda NG.

If you do not specify directory, then default will be used, which is Profiles subdirectory in Miranda NG root folder.

ProfileDir=


ShowProfileMgr

Decides whether to show the profile manager on Miranda NG startup.

Accepts values:

  • never — Show it only if the profile to use can't be guessed by any means.
  • yes — Show it always.
  • smart — (default) Show it if the command line doesn't contain a database name that exists or there is more or less than one database file in the ProfileDir.
ShowProfileMgr=smart


DefaultProfile

Name of the profile to use if there's a choice. It can contain environment variables, e.g., %USERNAME%.

If Miranda is run with a command line parameter then that parameter is used instead of this setting.

If ShowProfileMgr=never then this profile is run without a question. Otherwise the profile manager is run as usual but initially this profile is selected.

Default value: It is empty.

DefaultProfile=


AutoCreate

Accepts values:

  • yes — If DefaultProfile setting or the command line parameter gives a profile name that doesn't exist then that profile is created.
  • no — (default) The profile manager is shown in this case.
AutoCreate=no


RememberPassword

When set to 1 it will store password in Windows Credential Manager.

Default value: 0

RememberPassword=0


[AutoExec]

AutoExec is a system for batch addition of multiple settings to the database.

Use

Accepts values:

  • yes — Install .ini files automatically.
  • no — Disable the AutoExec system entirely.
  • prompt — (default) Prompt the user before each installation. This setting doesn't affect the decision of whether to display further prompts.
Use=prompt


Glob

A global expression containing the files to watch for database settings. This will be checked just after database load and continuously all the time Miranda is running.

If this contains a relative path, it's relative to the directory containing Miranda*.exe file.

Default value: autoexec_*.ini

Glob=autoexec_*.ini


Safe

A space-separated list of database module names known to be safe to alter.

Default value: CLC Icons CLUI CList SkinSounds

Safe=CLC Icons CLUI CList SkinSounds


Unsafe

A space-separated list of database module names that could be altered for malicious purposes (e.g., by faking a login server to steal passwords).

Default value: Facebook GG ICQ IRC JABBER MRA MSN SKYPE TWITTER VKontakte

Unsafe=Facebook GG ICQ IRC JABBER MRA MSN SKYPE TWITTER


OverrideSecurityFilename

System administrators may find it desirable to install settings without prompting the user. In that case all prompts and security will be overridden if the name of the .ini file matches the name given here.

If this is used, make sure it's suitably random and hence not likely to be downloaded.

Default value: It is empty (no override possible).

OverrideSecurityFilename=


OnCreateFilename

Defines .ini file that will be executed every time new profile is created.

Default value: It is empty (no override possible).

OnCreateFilename=


Warn

Accepts values:

  • all — Warn the user before each setting change is made.
  • notsafe — (default) Warn before each change to a setting in a group that isn't listed in the Safe setting.
  • onlyunsafe — Warn before each change to a setting in a group that is listed in the Unsafe setting.
  • none — Never warn the user.
Warn=notsafe


OnCompletion

Defines what to do with the .ini file once it's imported.

Accepts values:

  • delete — Delete the file from the disk.
  • recycle — (default) Move the file to the recycle bin (same as delete if you've disabled Windows' recycle bin).
  • rename — Add the string from the RenamePrefix setting to the beginning of the filename.
  • leave — Leave the file as-is. Note that this could cause it to be imported multiple times until it's moved.
  • ask — Show a dialog to ask the user.
OnCompletion=recycle


RenamePrefix

A string to add before the filename if the rename option is used for OnCompletion setting. This can include a path specifier to move the file, e.g., ..\

Default value: done_

RenamePrefix=done_


[PluginLoader]

Settings that determine how plugins are loaded.

AskAboutIgnoredPlugins

When set to 1, will ask if re-enable a disabled plugin.

Default value: 0

AskAboutIgnoredPlugins=0


[Language]

Language related settings.

DefaultLanguage

Stores the name of the default language pack to be loaded at startup. If skipped, loads the first file that matches the langpack_*.txt mask.

Example: DefaultLanguage=langpack_german.txt

It also accepts value of:

  • default — Built-in English language.

Default value: It is empty.

DefaultLanguage=


[Interface]

Interface related settings.

DpiAware

Experimental! Enables HiDPI ("Retina Display") support when set to 1.

Default value: 0

DpiAware=0