From 6dd1f8161c4e480646b4c75693d75e7e542be205 Mon Sep 17 00:00:00 2001 From: Romain Lespinasse Date: Thu, 29 Jun 2023 23:07:57 +0200 Subject: [PATCH] feat: update to drawio-desktop 21.5.1 (#37) --- Dockerfile | 2 +- scripts/runner-no-security-warnings.sh | 4 ---- tests/data/issue-20/frame-bug-good.svg | 2 +- tests/expected/output-electron-security-warning.log | 1 + 4 files changed, 3 insertions(+), 6 deletions(-) delete mode 100755 scripts/runner-no-security-warnings.sh diff --git a/Dockerfile b/Dockerfile index c628013..afc75a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM debian:bullseye WORKDIR "/opt/drawio-desktop" -ENV DRAWIO_VERSION "20.3.0" +ENV DRAWIO_VERSION "21.5.1" RUN set -e; \ apt-get update && apt-get install -y \ xvfb \ diff --git a/scripts/runner-no-security-warnings.sh b/scripts/runner-no-security-warnings.sh deleted file mode 100755 index 05a5a77..0000000 --- a/scripts/runner-no-security-warnings.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env bash -set -e - -"$DRAWIO_DESKTOP_EXECUTABLE_PATH" "$@" --no-sandbox 2>&1 diff --git a/tests/data/issue-20/frame-bug-good.svg b/tests/data/issue-20/frame-bug-good.svg index 97b12f6..e504b44 100644 --- a/tests/data/issue-20/frame-bug-good.svg +++ b/tests/data/issue-20/frame-bug-good.svg @@ -1,3 +1,3 @@ -
Good
Good
Bad
Bad
Text is not SVG - cannot display
\ No newline at end of file +
Good
Good
Bad
Bad
Text is not SVG - cannot display
\ No newline at end of file diff --git a/tests/expected/output-electron-security-warning.log b/tests/expected/output-electron-security-warning.log index 88dc048..8b6271a 100644 --- a/tests/expected/output-electron-security-warning.log +++ b/tests/expected/output-electron-security-warning.log @@ -1,5 +1,6 @@ Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory +Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")