有啥好description的,就最新版本嘛对å§
Application Details:
Version: | 2.6.2.31 |
License: | Free to use |
URL: | https://pc.weixin.qq.com |
Votes: | 0 |
Latest Rating: | Gold |
Latest Wine Version Tested: | 3.14 |
Maintainers: About Maintainership
What works
Sending and receiving text, emoticons and files.
Typing Chinese characters via IBus. No problem.
Receiving and playing audio and video.
æ”¶å‘æ–‡å—ã€è¡¨æƒ…和文件。
è¾“å…¥ä¸æ–‡ï¼ˆFedora 自带的 IBus),没有问题。
æŽ¥æ”¶å¹¶æ’æ”¾è¯éŸ³å’Œè§†é¢‘。
What does not
Workarounds
What was not tested
视频èŠå¤©ç‰ç‰ã€‚ Video chat and so on.
Hardware tested
Graphics:
Additional Comments
I should rate it as Gold rather than Platium because Winetricks are used, but the workarounds section is missing. I am not installing it on my host system, but inside a docker-ed environment for flexibility. The host system is Fedora 27.
The image is created with this Dockerfile, tagged as wine
FROM fedora:27 RUN useradd -U -m user; \ curl -o /etc/yum.repos.d/winehq.repo https://dl.winehq.org/wine-builds/fedora/27/winehq.repo; \ dnf install -y winehq-devel $(dnf repoquery -q --requires winetricks | grep -v ^wine) glx-utils mesa-dri-drivers.x86_64 mesa-dri-drivers.i686 /usr/bin/ntlm_auth glibc-langpack-zh langpacks-zh_CN; \ dnf clean all; \ curl -vLo /usr/local/bin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks; \ chmod +x /usr/local/bin/winetricks; \ mkdir -p /opt/wine-devel/share/wine/mono /opt/wine-devel/share/wine/gecko; \ cd /opt/wine-devel/share/wine/mono; \ curl -vLOJ https://dl.winehq.org/wine/wine-mono/4.7.1/wine-mono-4.7.1.msi; \ cd /opt/wine-devel/share/wine/gecko; \ curl -vLOJ https://dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86_64.msi; \ curl -vLOJ https://dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86.msi USER user WORKDIR /home/user
Start a container with
docker run --rm -it -v /tmp/.X11-unix/X0:/tmp/.X11-unix/X0 -v /path/to/microsoft/fonts:/usr/share/local/fonts:ro --device=/dev/dri --security-opt="no-new-privileges" --ipc=host --env WINEARCH=win32 --env DISPLAY=:0 --env XMODIFIERS=@im=ibus --env LANG=zh_CN --env LC_ALL=zh_CN.UTF-8 wine bash
Then run this script inside it with the installer pre-downloaded
winetricks winxp riched20 ole32 wine WechatSetup.exe wine 'C:\Program Files\Tencent\WeChat\WeChat.exe'
You may modify the example code above if you are familiar with Docker
Courtesy to https://github.com/hillwoodroc... and other inspirations
自行翻译å§ï¼Œæ‡’
Operating system | Test date | Wine version | Installs? | Runs? | Used Workaround? | Rating | Submitter | ||
Show | Ubuntu 18.04 "Bionic" amd64 (+variants like Kubuntu) | Aug 27 2018 | 3.14 | Yes | Yes | Yes | Gold | David Zhou | |
Current | Fedora 27 x86_64 | Apr 06 2018 | 3.5 | Yes | Yes | No | Platinum | XU Guang-zhao |
Wineçš„è¯è¨€è·ŸéšLC_ALLå’ŒLANG,但微信在英文WineçŽ¯å¢ƒä¸‹ä¸æ–‡è”系人显示ä¸å‡ºæ¥ã€‚å¦å¤–Wine的输入法模å—底层是xim,底层实现åšäº†ä¸€æ¬¡UTF-8到UTF-16的转æ¢ï¼Œå¦‚果当å‰localeé‡Œé¢æ²¡æœ‰UTF-8çš„è¯ï¼ˆDocker镜åƒé»˜è®¤locale是POSIXï¼‰è½¬æ¢æ˜¯ä¼šå¤±è´¥çš„(没有默认的CP_UNIXCP代ç é¡µï¼‰ï¼Œå› æ¤éœ€è¦æ‰‹åŠ¨è®¾ç½®
Please translate it by yourself from Chinese because I am lazy
The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.
by Mucahit Senol on Monday February 18th 2019, 9:18
by 迈克 on Monday January 21st 2019, 16:26
1. Download wechat installer exe from their website.
2. Setup clean wine prefix
2a. export WINEPREFIX="/home//.wineprefixes/wechat"
2b. mkdir -p /home//.wineprefixes/others
2c. export WINEARCH="win32"
2d. winetricks msls31 ole32 riched20 riched32 [riched32 may not be necessary]
2e. install relevant fonts (corefonts cjkfonts mscorefonts noto-fonts-cjk) [im not sure which are necessary yet]
3. install wechat exe under the created wine prefix
4. Change locale to LC_ALL="zh_CN.UTF8"
5. Can use this command in the same terminal using the exported wineprefix we defined earlier: LC_ALL="zh_CN.UTF8" wine WeChat.exe
I can paste text in Chinese characters , but I cannot use the ibus input method to write messages in another language, only English. Strange note: If I paste Chinese characters in the text box, they display fine. However, if I type an English message, and paste a Chinese characters in the box, it displays each character as a "tofu" square or in a slightly different font.
I am looking for a way to write in a different language in a Wine environment under Linux.
See my thread: forum.winehq.org/viewtopic.php?f=2&t=31866&e=0&sid=05fcc6ecee1a32a1d1a0022379fa336a
by David Zhou on Wednesday November 14th 2018, 19:00
Step ONE: Make sure to use a CLEAN WIN32 wineprefix.
1. export WINEPREFIX="/home//.wineprefixes/wechat"
2. mkdir -p /home//.wineprefixes/others
3. export WINEARCH="win32"
STEP TWO: add components:
winetricks msls31 ole32 riched20
STEP THREE:
install wechat
by Mucahit Senol on Monday February 18th 2019, 9:19
by Suleman Hasib on Friday August 31st 2018, 0:16
wine-3.0 (Ubuntu 3.0-1ubuntu1)
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
by XU Guang-zhao on Sunday September 2nd 2018, 4:19
by Suleman Hasib on Tuesday September 25th 2018, 22:02
Although After your comment I tried overriding it with following results:
- native, builtin ==> WeChat Works but invisible Text in Composing area
- builtin, native ==> Same as above
- builtin ==> Same as above
- native ==> WeChat Crashes after login and return backs to login window.
by XU Guang-zhao on Wednesday September 26th 2018, 21:29
by Suleman Hasib on Wednesday September 26th 2018, 22:44
by XU Guang-zhao on Thursday September 27th 2018, 3:14
by Suleman Hasib on Friday September 28th 2018, 0:25
Tried riched20.dll and riched32.dll with different settings; none worked.
on setting `riched20.dll` to `native` following error is logged in terminal:
[0928/072811:ERROR:network_change_notifier_win.cc(158)] WSALookupServiceBegin failed with: 8
0009:err:module:find_forwarded_export module not found for forward 'riched20.CreateTextServices' used by L"C:\\windows\\system32\\msftedit.dll"
by XU Guang-zhao on Sunday September 30th 2018, 9:26
by Suleman Hasib on Wednesday October 3rd 2018, 2:06
by Kent Tong on Monday October 22nd 2018, 1:46
First, winetricks is now unable to install riched20.dll probably because the file W2KSP4_EN.EXE is no longer available.
But I have Windows 7, so I can copy riched20.dll to wine, but actually wine already comes with it: the riched20.dll in wine's windows/system32 is exactly the same as the copy in Windows 7. Does it mean that I need riched20.dll from somewhere else? The size of mine is 65580. What's yours?
by Kent Tong on Monday October 22nd 2018, 2:27
by anonymous on Sunday August 19th 2018, 2:00
However, there seems to be a problem somewhere, as the bug discussion I posted a link to essentially says that wine should be able to pick up WenQuanYi ZenHei as a default Chinese font, but for some reason doesn't.
Anyway, the problem is now solved for me.
by anonymous on Thursday August 16th 2018, 21:16
Can't you install microsoft core fonts right into the container with winetrincks?
by XU Guang-zhao on Thursday August 16th 2018, 21:32
by anonymous on Thursday August 16th 2018, 21:40
Also, could you post a full docker build command, because my docker doesn't create an image called 'wine', is just gives a random hash name.
by anonymous on Thursday August 16th 2018, 21:43
Sending build context to Docker daemon 2.56kB
Step 1/4 : FROM fedora:27
---> 9110ae7f579f
Step 2/4 : RUN useradd -U -m user; curl -o /etc/yum.repos.d/winehq.repo dl.winehq.org/wine-builds/fedora/27/winehq.repo; dnf install -y winehq-devel $(dnf repoquery -q --requires winetricks | grep -v ^wine) glx-utils mesa-dri-drivers.x86_64 mesa-dri-drivers.i686 /usr/bin/ntlm_auth glibc-langpack-zh langpacks-zh_CN; dnf clean all; curl -vLo /usr/local/bin/winetricks raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks; chmod +x /usr/local/bin/winetricks; mkdir -p /opt/wine-devel/share/wine/mono /opt/wine-devel/share/wine/gecko; cd /opt/wine-devel/share/wine/mono; curl -vLOJ dl.winehq.org/wine/wine-mono/4.7.1/wine-mono-4.7.1.msi; cd /opt/wine-devel/share/wine/gecko; curl -vLOJ dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86_64.msi; curl -vLOJ dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86.msi
---> Using cache
---> c479a24b5b6a
Step 3/4 : USER user
---> Using cache
---> 1327c6bcff4b
Step 4/4 : WORKDIR /home/user
---> Using cache
---> a363de9df2a6
Successfully built a363de9df2a6
$ docker run --rm -it -v /tmp/.X11-unix/X0:/tmp/.X11-unix/X0 --device=/dev/dri --security-opt="no-new-privileges" --ipc=host --env WINEARCH=win32 --env DISPLAY=:0 --env XMODIFIERS=@im=scim --env LANG=zh_CN --env LC_ALL=zh_CN.UTF-8 a363de9df2a6 bash
bash: warning: setlocale: LC_ALL: cannot change locale (zh_CN.UTF-8)
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (zh_CN.UTF-8)
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (zh_CN.UTF-8)
[ user@7d6265e8e12f ~]$ echo $LC_ALL
zh_CN.UTF-8
[ user@7d6265e8e12f ~]$ winetricks winxp riched20 ole32
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (zh_CN.UTF-8)
------------------------------------------------------
wineserver not found!
------------------------------------------------------
[ user@7d6265e8e12f ~]$ wine WechatSetup.exe
bash: wine: command not found
by XU Guang-zhao on Thursday August 16th 2018, 23:32
You may also run docker run --rm --user 0 -it a363de9df2a6 dnf history info 2 and post the output here
by XU Guang-zhao on Thursday August 16th 2018, 23:27
Use docker build -t wine . to tag an image. Search "tagged as wine" in my extra comments section
by anonymous on Sunday June 17th 2018, 2:50
by XU Guang-zhao on Sunday June 17th 2018, 6:34
There ARE actually some scenarios when some characters cannot be displayed correctly, but it is rare. By the way, I copied all fonts from my Windows installation to my Linux box
by anonymous on Saturday June 30th 2018, 0:36
I feel that the problem is somewhere in /etc/fonts/*
I also installed webcore-fonts globally and with winetricks.
Could you post your /etc/fonts/* as an archive somewhere?
by XU Guang-zhao on Saturday June 30th 2018, 1:15
by Mark Chandler on Thursday April 12th 2018, 0:39
谢谢ä½