mirror of
https://github.com/gryf/fs-uae-wrapper.git
synced 2026-01-24 08:05:48 +01:00
Introduced new configuration variable $WRAPPER
Calculation of file path may be performed in two different places - first is the original location of the config file, second is on copied one. Adding new option WRAPPER will take the same role as $CONFIG, except it will be only parsed on copied configuration file. An alternative would be to check existence in both places, but I'd like to have it explicit.
This commit is contained in:
17
README.rst
17
README.rst
@@ -98,6 +98,23 @@ If no ``wrapper`` option would be passed either as an config option or
|
||||
command line argument, all command line options will be passed to the fs-uae
|
||||
executable as-is.
|
||||
|
||||
There is also new config variable introduced: ``$WRAPPER`` which have the same
|
||||
role as ``$CONFIG``, but apply for copied config. For instance - in module
|
||||
archive there are filesystem extracted to new location - to access this
|
||||
filesystem relatively to the copied configuration file it is enough to provide
|
||||
a config option:
|
||||
|
||||
.. code:: ini
|
||||
|
||||
[config]
|
||||
wrapper = archive
|
||||
...
|
||||
|
||||
hard_drive_0 = $WRAPPER/my_hardrive
|
||||
|
||||
which means, that we are expecting to have system files on ``my_hardrive`` in
|
||||
directory, where configuration will be copied.
|
||||
|
||||
Modules
|
||||
=======
|
||||
|
||||
|
||||
Reference in New Issue
Block a user