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:
Reactor Scram
2024-02-23 14:11:50 -06:00
committed by GitHub
parent f26f202b4e
commit da242e0bef

View File

@@ -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"