diff --git a/Dockerfile b/Dockerfile index 7793c26..9b3cbae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM debian:bullseye WORKDIR "/opt/drawio-desktop" -ENV DRAWIO_VERSION "21.6.1" +ENV DRAWIO_VERSION "21.6.5" RUN set -e; \ apt-get update && apt-get install -y \ xvfb \ diff --git a/README.adoc b/README.adoc index f9b713a..5f06720 100644 --- a/README.adoc +++ b/README.adoc @@ -4,7 +4,7 @@ image:https://img.shields.io/docker/v/rlespinasse/drawio-desktop-headless[Docker image:https://img.shields.io/docker/pulls/rlespinasse/drawio-desktop-headless[Docker Pull,link=https://hub.docker.com/r/rlespinasse/drawio-desktop-headless] image:https://github.com/rlespinasse/docker-drawio-desktop-headless/workflows/Build/badge.svg[Build] -Dockerized headless version of https://github.com/jgraph/drawio-desktop[Draw.io Desktop] +Dockerized headless version of https://github.com/jgraph/drawio-desktop[Draw.io Desktop '21.6.5'] == What it does diff --git a/src/entrypoint.sh b/src/entrypoint.sh index 0f7daf2..cfe969b 100755 --- a/src/entrypoint.sh +++ b/src/entrypoint.sh @@ -7,6 +7,12 @@ if [[ "${ELECTRON_DISABLE_SECURITY_WARNINGS:?}" == "true" ]]; then cat "${DRAWIO_DESKTOP_SOURCE_FOLDER:?}/unwanted-security-warnings.txt" >>"${DRAWIO_DESKTOP_SOURCE_FOLDER:?}/unwanted-lines.txt" fi +if [[ "${DRAWIO_DISABLE_UPDATE:?}" == "true" ]]; then + # Remove 'deb support' logs + # since 'autoUpdater.logger.transports.file.level' is set as 'info' on drawio-desktop + cat "${DRAWIO_DESKTOP_SOURCE_FOLDER:?}/unwanted-update-logs.txt" >>"${DRAWIO_DESKTOP_SOURCE_FOLDER:?}/unwanted-lines.txt" +fi + # Start Xvfb export DISPLAY="${XVFB_DISPLAY:?}" # shellcheck disable=SC2086 diff --git a/src/unwanted-update-logs.txt b/src/unwanted-update-logs.txt new file mode 100644 index 0000000..381e601 --- /dev/null +++ b/src/unwanted-update-logs.txt @@ -0,0 +1,2 @@ +Checking for beta autoupdate feature for deb/rpm distributions +Found package-type: deb