mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
Fix snap protocol handler (#11932)
Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
This commit is contained in:
@@ -7,6 +7,12 @@ ulimit -c 0
|
||||
RAW_PATH=$(readlink -f "$0")
|
||||
APP_PATH=$(dirname $RAW_PATH)
|
||||
|
||||
# force use of base image libdus in snap
|
||||
if [ -e "/usr/lib/x86_64-linux-gnu/libdbus-1.so.3" ]
|
||||
then
|
||||
export LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libdbus-1.so.3"
|
||||
fi
|
||||
|
||||
# pass through all args
|
||||
$APP_PATH/bitwarden-app "$@"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user