mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
[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
This commit is contained in:
8
apps/desktop/resources/memory-dump-wrapper.sh
Normal file
8
apps/desktop/resources/memory-dump-wrapper.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
# disable core dumps
|
||||
ulimit -c 0
|
||||
|
||||
APP_PATH=$(dirname "$0")
|
||||
# pass through all args
|
||||
$APP_PATH/bitwarden-app "$@"
|
||||
Reference in New Issue
Block a user