Skip to content

Commit

Permalink
related #83 - adds UTF-8 jdownloader parms and Locales
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymoulin committed Dec 15, 2020
1 parent af83c19 commit f44b7ae
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@ COPY qemu-arm-static /usr/bin/
FROM builder

ARG ARCH=armhf
ARG VERSION="1.4.2"
ARG VERSION="1.4.3"
LABEL maintainer="Jay MOULIN <https://jaymoulin.me/me/docker-jdownloader> <https://twitter.com/MoulinJay>"
LABEL version="${VERSION}-${ARCH}"
ENV LD_LIBRARY_PATH=/lib;/lib32;/usr/lib
ENV XDG_DOWNLOAD_DIR=/opt/JDownloader/Downloads
ENV LC_CTYPE="en_US.UTF-8"
ENV LANG="en_US.UTF-8"
ENV LC_COLLATE="C"
ENV LANGUAGE="C.UTF-8"
ENV LC_ALL="C.UTF-8"
ENV UMASK=''

COPY ./${ARCH}/*.jar /opt/JDownloader/libs/
# archive extraction uses sevenzipjbinding library
# which is compiled against libstdc++
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION ?= 1.4.2
VERSION ?= 1.4.3
CACHE ?= --no-cache=1
FULLVERSION ?= ${VERSION}
archs ?= amd64 arm32v6 armhf arm64v8
Expand Down
2 changes: 1 addition & 1 deletion daemon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ if echo "$UMASK" | grep -Eq '0[0-7]{3}' ; then
umask "$UMASK"
fi

java -Djava.awt.headless=true -jar /opt/JDownloader/JDownloader.jar -norestart &
java -Dsun.jnu.encoding=UTF-8 -Dfile.encoding=UTF-8 -Djava.awt.headless=true -jar /opt/JDownloader/JDownloader.jar -norestart &
PID=$!
wait $PID
wait $PID
Expand Down

0 comments on commit f44b7ae

Please sign in to comment.