1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-12 14:56:58 +01:00
bitwarden-browser/apps/desktop/resources/memory-dump-wrapper.sh
Bernd Schoolmann f997a094f7
[PM-10689] Fix rpm (& deb) packages not starting by following symlink (#10429)
* Fix rpm packages not starting by following wrapper-script executable symlink

* Restore newline

* Add missing space
2024-08-07 16:15:31 +02:00

13 lines
185 B
Bash

#!/bin/sh
# disable core dumps
ulimit -c 0
# might be behind symlink
RAW_PATH=$(readlink -f "$0")
APP_PATH=$(dirname $RAW_PATH)
# pass through all args
$APP_PATH/bitwarden-app "$@"