1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-17 11:55:12 +01:00
bitwarden-estensione-browser/apps/desktop/resources/memory-dump-wrapper.sh
Bernd Schoolmann b07d7ee1c6
[PM-8395] [POC] Introduce wrapper script to prevent renderer coredumps in desktop linux (#9395)
* Add wrapper script to protect from coredumps and re-enable process reload

* Allow args passthrough and clean up after-pack script
2024-07-24 19:17:11 +02:00

8 lines
122 B
Bash

#!/bin/sh
# disable core dumps
ulimit -c 0
APP_PATH=$(dirname "$0")
# pass through all args
$APP_PATH/bitwarden-app "$@"