Add snap configure hook to allow enable debug mode
This commit is contained in:
parent
a88faed6d3
commit
83215524de
4 changed files with 17 additions and 1 deletions
|
|
@ -29,4 +29,8 @@ export XDG_DATA_HOME="$SNAP_USER_COMMON/app-data"
|
|||
# configured but the actual EGL implementation is missing.
|
||||
export __EGL_VENDOR_LIBRARY_DIRS="$SNAP/glvnd"
|
||||
|
||||
if [ -e "$SNAP_COMMON"/.enable_debug ]; then
|
||||
export ANBOX_LOG_LEVEL=debug
|
||||
fi
|
||||
|
||||
exec $SNAP/usr/bin/anbox $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue