feat: add app extra/unset env config
to fix #8667 you can - subpath:"/FoxitReader" appExtraEnvironments : "QT_QPA_PLATFORM=xcb" - subpath:"/FoxitReader" appEnvironmentsBlacklist : "QT_QPA_PLATFORM" ``` dde-dconfig set -a org.deepin.dde.application-manager -r org.deepin.dde.application-manager -k appExtraEnvironments -s "/FoxitReader" -v "[\"QT_QPA_PLATFORM=xcb\"]" dde-dconfig set -a org.deepin.dde.application-manager -r org.deepin.dde.application-manager -k appEnvironmentsBlacklist -s "/FoxitReader" -v "[\"QT_QPA_PLATFORM\"]" ``` Issue: https://github.com/linuxdeepin/developer-center/issues/8667
This commit is contained in:
@ -138,10 +138,13 @@
|
||||
1. `uid` (type u):
|
||||
The user id as who is that application will be run.
|
||||
This option might request a polikit authentication.
|
||||
2. `env` (type s):
|
||||
2. `env` (type as):
|
||||
passing some specific environment variables to Launch
|
||||
this application, eg. 'LANG=en_US;PATH=xxx:yyy;'
|
||||
3. `path` (type s):
|
||||
this application without them, eg. '[LANG=en_US, PATH=xxx:yyy]'
|
||||
3. `unsetEnv` (type as):
|
||||
passed environment variables will be ignored when
|
||||
launching this application, eg. '[LANG, PATH]'
|
||||
4. `path` (type s):
|
||||
set this application's working directory, please pass
|
||||
absolute directory path.
|
||||
NOTE:
|
||||
|
Reference in New Issue
Block a user