path

Members

inner, constant config_path

The config folder of flex By default the XDG config path is used. This can be overwritten by the environment variable CONFIG_PATH (absolute path). If both are not set the fallback is a relative path to the flex directory.
Properties:
Name Type Description
config_path string

inner, constant DEFAULT_PORT

The default port of Inexor Flex to use
Properties:
Name Type Description
DEFAULT_PORT number

inner flex_path

The path of the flex folder. Developer note: DON'T change this or you'll break cross platform compatibility!
Properties:
Name Type Description
flex_path string

inner, constant interfaces_path

The interfaces path of Inexor By default the app data location + 'interfaces' is used
Properties:
Name Type Description
interfaces_path string

inner, constant media_path

The media directory of inexor By default the XDG data path is used. This can be overwritten by the environment variable INEXOR_MEDIA_PATH (absolute path). If both are not set the fallback is a relative path to the flex directory.
Properties:
Name Type Description
media_path string

inner, constant pid_path

The pid file that Inexor Flex uses NOTE: Might be prefixed with /inexor in the future

inner, constant releases_path

The releases path of inexor By default the app data location is used
Properties:
Name Type Description
releases_path string

Methods

inner getConfigPaths() → {string}

Returns a preference-ordered array of base directories to search for configuration files in addition to the default config path.
Returns:
string

inner getMediaPaths() → {string}

Returns a preference-ordered array of base directories to search for media files in addition to the default media path.
Returns:
string

inner getXdgLocationFromEnvironmentVariable(envVar, defaultValue)

Returns the XDG location (localized) from the environment variable.
Parameters:
Name Type Description
envVar The name of the environment variable.
defaultValue The default value to use if the environment variable doesn't exist.
Returns:
- The location.-

path

Members

inner, constant config_path

The config folder of flex By default the XDG config path is used. This can be overwritten by the environment variable CONFIG_PATH (absolute path). If both are not set the fallback is a relative path to the flex directory.
Properties:
Name Type Description
config_path string

inner, constant DEFAULT_PORT

The default port of Inexor Flex to use
Properties:
Name Type Description
DEFAULT_PORT number

inner flex_path

The path of the flex folder. Developer note: DON'T change this or you'll break cross platform compatibility!
Properties:
Name Type Description
flex_path string

inner, constant interfaces_path

The interfaces path of Inexor By default the app data location + 'interfaces' is used
Properties:
Name Type Description
interfaces_path string

inner, constant media_path

The media directory of inexor By default the XDG data path is used. This can be overwritten by the environment variable INEXOR_MEDIA_PATH (absolute path). If both are not set the fallback is a relative path to the flex directory.
Properties:
Name Type Description
media_path string

inner, constant pid_path

The pid file that Inexor Flex uses NOTE: Might be prefixed with /inexor in the future

inner, constant releases_path

The releases path of inexor By default the app data location is used
Properties:
Name Type Description
releases_path string

Methods

inner getConfigPaths() → {string}

Returns a preference-ordered array of base directories to search for configuration files in addition to the default config path.
Returns:
string

inner getMediaPaths() → {string}

Returns a preference-ordered array of base directories to search for media files in addition to the default media path.
Returns:
string

inner getXdgLocationFromEnvironmentVariable(envVar, defaultValue)

Returns the XDG location (localized) from the environment variable.
Parameters:
Name Type Description
envVar The name of the environment variable.
defaultValue The default value to use if the environment variable doesn't exist.
Returns:
- The location.-