Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use previous election security warning filtering
- Loading branch information
1 parent
ad59b9c
commit 29a8f5b
Showing
3 changed files
with
11 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
set -euo pipefail | ||
|
||
if [ "${ELECTRON_DISABLE_SECURITY_WARNINGS}" == "true" ]; then | ||
"$DRAWIO_DESKTOP_EXECUTABLE_PATH" --drawio-desktop-headless "$@" 3>&1 >&2 2>&3 3>&- | | ||
"$DRAWIO_DESKTOP_EXECUTABLE_PATH" --drawio-desktop-headless "$@" 2>&1 | | ||
grep -v "Failed to connect to socket" | | ||
grep -v "Could not parse server address" | | ||
grep -v "Floss manager not present" | | ||
grep -v "Exiting GPU process" | | ||
grep -v "called with multiple threads" | | ||
grep -v "extension not supported" | | ||
grep -v "Failed to send GpuControl.CreateCommandBuffer" | ||
grep -v "Failed to send GpuControl.CreateCommandBuffer" | | ||
grep -v "Init observer found at shutdown" | ||
else | ||
"$DRAWIO_DESKTOP_EXECUTABLE_PATH" --drawio-desktop-headless "$@" 2>&1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters