How to upgrade WeChat to the latest version under deepin-wine

Prerequisites Wechat or other applications
have been installed using deepin-wine-ubuntu .

Upgrade method
Download the latest version of the WeChat installation package (the download path in the tutorial is ~/Downloads)

  • 2021.07, if you use the default configuration of deepin-wine, the window system will default to win XP, and WeChat versions above 3.2.1 cannot be installed, so when downloading the latest version of WeChat, please select (version below win7) Download for systems below Windows 7 , Otherwise, the installation cannot be successful; WeChat 3.2.1 should be the latest version that supports systems below win7. If you want to install a newer version of WeChat, you can try to modify the system version in deepin-wine configuration to win8 or win10 (not tested).
    wechat for system below win 7

Then execute the following command:

env WINEPREFIX=~/.deepinwine/Deepin-WeChat deepin-wine ~/Downloads/WeChatSetup.exe

Then the upgrade window will be displayed, press upgrade to complete the upgrade.

Possible problems and solutions:
In NVIDIA stand-alone display mode, WeChat cannot be started; after switching to integrated display, it will start normally. Error message in standalone display mode:

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 285
Current serial number in output stream: 284

  • Solution:
    Install 32-bit libnvidia-gl, 430 is the driver version number (consistent with the current driver version)
sudo apt install libnvidia-gl-430:i386

Reference link: [Share Experiences] Manually upgrade deepin-wine WeChat, it should also be applicable to other wine applications

Guess you like

Origin blog.csdn.net/lyh458/article/details/117284741