--config [ErminePro]

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 # are comments.
  • Empty lines are ignored.
  • Any other line should be in format:
    FileName TYPE
    

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:

external

Ermine-packed executable should access this file on the real file system and not "from within itself".

internal

This file should be packed, and the Ermine-packed executable should access this file "from within itself".

noentry

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 internal then the file given via FileName should be of one of the following types:

  • regular file
  • directory
  • link

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.