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.

This commit is contained in:
vexorian 2021-08-06 13:46:32 -04:00
parent b9d6fe9ff1
commit a16e6dce66
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
FROM node:14-alpine3.14 FROM node:12.18-alpine3.12
WORKDIR /home/node/app WORKDIR /home/node/app
COPY package*.json ./ COPY package*.json ./
RUN npm install && npm install -g browserify nexe@3.3.7 RUN npm install && npm install -g browserify nexe@3.3.7

View File

@ -10,6 +10,7 @@ npm run build || exit 1
npm run compile || exit 1 npm run compile || exit 1
cp -R ./web ./dist/web cp -R ./web ./dist/web
cp -R ./resources ./dist/ cp -R ./resources ./dist/
cp -R ./locales/ ./dist/locales/
cd dist cd dist
if [ "$MODE" == "all" ]; then if [ "$MODE" == "all" ]; then
nexe --temp /var/nexe -r "./**/*" -t windows-x64-12.18.2 --output $WIN64 nexe --temp /var/nexe -r "./**/*" -t windows-x64-12.18.2 --output $WIN64