Skip to content

Commit

Permalink
feat: update to drawio-desktop 21.6.5
Browse files Browse the repository at this point in the history
  • Loading branch information
rlespinasse committed Jul 24, 2023
1 parent cc20bd3 commit 05014d7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 6 additions & 0 deletions src/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/unwanted-update-logs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Checking for beta autoupdate feature for deb/rpm distributions
Found package-type: deb

0 comments on commit 05014d7

Please sign in to comment.