Skip to content

Commit

Permalink
langs 过滤无效 #671
Browse files Browse the repository at this point in the history
  • Loading branch information
Soltus committed May 1, 2024
1 parent ad3dbae commit 0bcd824
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ ENV CGO_ENABLED=1
RUN apk add --no-cache gcc musl-dev && \

Check warning on line 25 in Dockerfile

View check run for this annotation

codefactor.io / CodeFactor

Dockerfile#L25

Use -print0/-0 or -exec + to allow for non-alphanumeric filenames. (ShellCheck-SC2038)
cd kernel && go build --tags fts5 -v -ldflags "-s -w -X github.com/Hi-Windom/Sillot/kernel/util.Mode=prod" && \
mkdir /opt/Sillot/ && \
find /Hi-Windom/Sillot/app/appearance/langs -type f -name 'zh_CHT.json' -exec rm {} && \
find /Hi-Windom/Sillot/app/appearance/langs -type f -name 'fr_FR.json' -exec rm {} && \
find /Hi-Windom/Sillot/app/appearance/langs -type f -name 'es_ES.json' -exec rm {} && \
rm /Hi-Windom/Sillot/app/appearance/langs/zh_CHT.json && \
rm /Hi-Windom/Sillot/app/appearance/langs/fr_FR.json && \
rm /Hi-Windom/Sillot/app/appearance/langs/es_ES.json && \
mv /Hi-Windom/Sillot/app/appearance/ /opt/Sillot/ && \
mv /Hi-Windom/Sillot/app/stage/ /opt/Sillot/ && \
mv /Hi-Windom/Sillot/app/guide/ /opt/Sillot/ && \
Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sillot",
"version": "0.32.1360",
"version": "0.32.1370",
"syv": "3.0.13",
"sypv": "[]",
"description": "Build Your Eternal Digital Garden",
Expand Down

0 comments on commit 0bcd824

Please sign in to comment.