mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
fix(gui-client): remove duplicated script (#3745)
This was moved up to the main `/scripts/tests` dir and combined with some other automated tests, so this is redundant now. Due to a merge conflict or some small oversight I accidentally left the original file in place too.
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
# This script must run from an elevated shell so that Firezone won't try to elevate
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
BUNDLE_ID="dev.firezone.client"
|
||||
DUMP_PATH="$LOCALAPPDATA/$BUNDLE_ID/data/logs/last_crash.dmp"
|
||||
|
||||
# Delete the crash file if present
|
||||
rm -f "$DUMP_PATH"
|
||||
|
||||
# Ignore the exit code, this is supposed to crash
|
||||
cargo run -p firezone-gui-client -- --crash || true
|
||||
|
||||
# Fail if the crash file wasn't written
|
||||
stat "$DUMP_PATH"
|
||||
rm "$DUMP_PATH"
|
||||
Reference in New Issue
Block a user