accepting comand line arguments

This commit is contained in:
Vinicius Moreira
2019-07-01 16:37:00 -03:00
parent a1e83a5d19
commit 060acaea08
9 changed files with 56 additions and 19 deletions

View File

@@ -41,11 +41,13 @@ In order to autostart the application, use your Desktop Environment settings to
(P.S: the installation script currently does not do that)
### Settings
You can change some application settings via environment variables:
You can change some application settings via environment variables or arguments (type ```fpakman --help``` to get more information).
- **FPAKMAN_UPDATE_NOTIFICATION**: enable or disable system updates notifications. Use **0** (disable) or **1** (enable, default).
- **FPAKMAN_CHECK_INTERVAL**: define the updates check interval in seconds. Default: 60.
- **FPAKMAN_LOCALE**: define a custom app translation for a given locale key (e.g: 'pt', 'en', 'es', ...). Default: system locale.
- **FPAKMAN_CACHE_EXPIRATION**: define a custom expiration time in SECONDS for application data retrieved from the origin API. Default: 3600 (1 hour).
### Roadmap
- Support for other packaging technologies
- Memory and performance improvements