Specifying a config file allows us to include additional files when packaging, or change the way Ermine-packaged executable will handle specified files.
The Ermine Config file format is very simple:
Lines beginning with
- Empty lines are ignored.
Any other line should be in format:
FileName is the name of the file - it can either be absolute or relative (relative to the current working directory at packaging time).
TYPE should have one of the following values:
Ermine-packed executable should access this file on the real file system and not "from within itself".
This file should be packed, and the Ermine-packed executable should access this file "from within itself".
The Ermine-packed executable should pretend that this file doesn't exist. Any attempt to access it (access, open, stat, execve, etc) will return an ENOENT error.
If TYPE is
then the file given via FileName should be of one of the following types:
- regular file
If the file is a link then it should point to a regular file or directory.
If the file doesn't exist it will be packaged as a
noentry file without any message.