Skip to content

Commit

Permalink
fix: export DEC_GAME_PWD
Browse files Browse the repository at this point in the history
  • Loading branch information
1995chen committed May 10, 2024
1 parent 8c3963b commit c6b7c7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/dnf_data/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ find /home/template/neople-tmp -type f -name "*.cfg" -print0 | xargs -0 sed -i "

# 加密GAME密码并修改配置文件
chmod +x /TeaEncrypt
DNF_DB_GAME_PASSWORD=${DNF_DB_GAME_PASSWORD:0:8}
DEC_GAME_PWD=`/TeaEncrypt $DNF_DB_GAME_PASSWORD`
export DNF_DB_GAME_PASSWORD=${DNF_DB_GAME_PASSWORD:0:8}
export DEC_GAME_PWD=`/TeaEncrypt $DNF_DB_GAME_PASSWORD`
echo "game password: $DNF_DB_GAME_PASSWORD"
echo "game pwd key: $DEC_GAME_PWD"
find /home/template/neople-tmp -type f -name "*.cfg" -print0 | xargs -0 sed -i "s/GAME_PASSWORD/$DNF_DB_GAME_PASSWORD/g"
Expand Down

0 comments on commit c6b7c7a

Please sign in to comment.