huan / docker-wechat

DoChat is a Dockerized WeChat (盒装微信) PC Windows Client for Linux
https://hub.docker.com/r/zixia/wechat
Apache License 2.0
2.23k stars 199 forks source link

Does the installation script only support Ubuntu? #185

Closed Mehver closed 1 year ago

Mehver commented 1 year ago

I tried to run the docker on RancherOS. However, no matter using the script or the docker command.

It always shows mkdir: 无法创建目录 “/home/user/.wine/drive_c/users/user/Application Data/Tencent”: 权限不够, which means insufficient permissions to create the mapped folder.

Though this can be solve by modify the script myself, I still wonder if the script plan to adapt more other OS.

[root@rancher ~]# wget https://raw.githubusercontent.com/huan/docker-wechat/master/dochat.sh | bash
Connecting to raw.githubusercontent.com (185.199.110.133:443)
dochat.sh            100% |***********************************************************************|  3148   0:00:00 ETA
[root@rancher ~]# bash dochat.sh

       ____         ____ _           _
      |  _ \  ___  / ___| |__   __ _| |_
      | | | |/ _ \| |   | '_ \ / _` | __|
      | |_| | (_) | |___| | | | (_| | |_
      |____/ \___/ \____|_| |_|\__,_|\__|

      https://github.com/huan/docker-wechat

                +--------------+
               /|             /|
              / |            / |
             *--+-----------*  |
             |  |           |  |
             |  |   盒装    |  |
             |  |   微信    |  |
             |  +-----------+--+
             | /            | /
             |/             |/
             *--------------*

      DoChat /dɑɑˈtʃæt/ (Docker-weChat) is:

      📦 a Docker image
      🤐 for running PC Windows WeChat
      💻 on your Linux desktop
      💖 by one-line of command

🚀 Pulling the docker image...

3.3.0.115: Pulling from zixia/wechat
bb7d5a84853b: Already exists
6770d884c4ca: Already exists
4492e3431c45: Already exists
489a5e619cf1: Already exists
dc2b599b494d: Already exists
7da118dfd759: Already exists
6479dda2349e: Already exists
27beeb660306: Already exists
8b198ec01dfb: Pull complete
2330e6709ff5: Pull complete
0580846f9751: Pull complete
71464f4fc36f: Pull complete
07f320282ffc: Pull complete
a6308aac6678: Pull complete
98e390ac2ddd: Pull complete
Digest: sha256:851ef44dcbdaed6f0db8f538ea2a29d713292347a54ee711225f77682417673b
Status: Downloaded newer image for zixia/wechat:3.3.0.115
docker.io/zixia/wechat:3.3.0.115

🚀 Pulling the docker image done.
dochat.sh: line 82: lshw: command not found
🚀 Starting DoChat /dɑɑˈtʃæt/ ...

dochat.sh: line 96: getent: command not found
dochat.sh: line 96: getent: command not found
[DoChat] 盒装微信 v0.15.0
Disabling patch for /home/user/.wine/drive_c/users/user/AppData/Roaming/Tencent/WeChat ...
Disabling patch for /home/user/.wine/drive_c/users/user/Application Data/Tencent/WeChat ...
mkdir: 无法创建目录 “/home/user/.wine/drive_c/users/user/Application Data/Tencent”: 权限不够
Mehver commented 1 year ago

Just found #178 shows the same issue, maybe this one should be close