-
-
Notifications
You must be signed in to change notification settings - Fork 661
Useful environment variables and directories
You can provide Letos with additional resources (plugins, extensions, icons, fonts, ...) using environment variables, or use predefined directories to put these resources to and Letos will use them.
In contents below:
-
the "path separator" means
;on Windows and:on all other systems. -
APP_DIRrefers to directory, where Letos executable is located. For example, if on Windows you haveC:\Program Files\Letos\Letos.exe, thenAPP_DIRisC:\Program Files\Letos. -
CONFIG_DIRrefers to directory described at Letos configuration directory
You can always track what Letos finds in defined paths and what it does with the findings by passing -d option to the application and opening debug console (F12 hotkey), or -d --do to see the debug on the standard output.
Provided directories will be scanned recursively for loadable Letos plugins. Remember, that these plugins must be compatible with your OS and your current Letos version. Otherwise they will be skipped.
LETOS_PLUGINS-
SQLITESTUDIO_PLUGINS(for backwards compatibility with SQLiteStudio 3.x)
The variable can contain one or more directories separated by the path separator.
APP_DIR/pluginsCONFIG_DIR/plugins
LETOS_SQLITE_EXTENSIONS-
SQLITESTUDIO_SQLITE_EXTENSIONS(for backwards compatibility with SQLiteStudio 3.x)
Same as with plugins - you may provide multiple paths using tha path separator.
APP_DIR/extAPP_DIR/extensionsCONFIG_DIR/extCONFIG_DIR/extensions
LETOS_ICONSSQLITESTUDIO_ICONS
APP_DIR/img
LETOS_FONTS
APP_DIR/pluginsCONFIG_DIR/plugins
Forms are Qt *.ui files definining interface parts.
This is more for testing purpose if you're developing a plugin and you want to modify/swap forms on the fly during runtime & just reload the plugin to see the updated form.
LETOS_FORMSSQLITESTUDIO_FORMS
APP_DIR/formsCONFIG_DIR/forms- all paths defined for plugins