From a16e6dce66befc3590bac15feebd0115ebb7553f Mon Sep 17 00:00:00 2001 From: vexorian Date: Fri, 6 Aug 2021 13:46:32 -0400 Subject: [PATCH] Fix localization issues. Node version in the docker image is pointless because nexe keeps using 12. Using 14 for nexe doesn't work, so it will stay at 12 for the time being. --- Dockerfile | 2 +- make_dist.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c79a53a..23435cc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:14-alpine3.14 +FROM node:12.18-alpine3.12 WORKDIR /home/node/app COPY package*.json ./ RUN npm install && npm install -g browserify nexe@3.3.7 diff --git a/make_dist.sh b/make_dist.sh index 4ea26bb..1e8afa7 100644 --- a/make_dist.sh +++ b/make_dist.sh @@ -10,6 +10,7 @@ npm run build || exit 1 npm run compile || exit 1 cp -R ./web ./dist/web cp -R ./resources ./dist/ +cp -R ./locales/ ./dist/locales/ cd dist if [ "$MODE" == "all" ]; then nexe --temp /var/nexe -r "./**/*" -t windows-x64-12.18.2 --output $WIN64