Skip to content

Commit

Permalink
Try to disable WeChat auto upgrade (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
huan committed Apr 26, 2020
1 parent c51f848 commit 901e3c7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ RUN wine regedit.exe /s /home/wechat-install.reg \
# FIXME: reg set success or not ???
RUN wine reg query 'HKEY_CURRENT_USER\Software\Tencent\WeChat' || echo 'Graceful FAIL. REG NOT FOUND'

# Disable WeChat Upgrade
# https://github.com/huan/docker-wechat/issues/29
ARG PATCH_FILE_DIR=~/.wine/drive_c/users/user/AppData/Roaming/Tencent/WeChat
RUN [ -e "$PATCH_FILE_DIR" ] || mkdir -p "$PATCH_FILE_DIR"; touch "${PATCH_FILE_DIR}"/patch

ENTRYPOINT [ "/entrypoint.sh" ]

LABEL \
Expand Down

0 comments on commit 901e3c7

Please sign in to comment.