[Share Experiences] 手动升级deepin-wine微信,应该也适用其他wine应用
Tofloor
poster avatar
ff32a
deepin
2021-02-01 18:46
Author

应用商店到微信版本目前还停留在2.6版本,聊天之类到没有什么影响,但是小程序不能正常使用,如果迫切需求使用新版可以考虑手动升级。从Deepin应用商店下载到wine应用默认存储到用户目录下的.deepinwine/文件夹中,deepin-wine5也在该目录中。首先从官网下载最新到微信版本,然后在终端使用下面命令升级:

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

然后会显示升级窗口,按提升完成升级即可。

~/.deepinwine/Deepin-WeChat  是微信到安装目录;.deepinwine/deepin-wine5-stable/bin/wine是deepin-wine5的使用命令,如果把~/.deepinwine/deepin-wine5-stable/bin/ 添加到PATH变量中也可以直接使用wine代替。

Reply Favorite View the author
All Replies
guaguale
deepin
2021-02-01 18:59
#1

官方更新肯定比较谨慎的,稳定为主。

Reply View the author
安洛
deepin
2021-02-01 19:04
#2

我在应用商店安装的微信已经支持小程序了呀

Reply View the author
ff32a
deepin
2021-02-01 19:07
#3
guaguale

官方更新肯定比较谨慎的,稳定为主。

是的,不过可能官方也缺乏足够精力去及时更新不是特别必须到更新。

Reply View the author
ff32a
deepin
2021-02-01 19:07
#4
安洛

我在应用商店安装的微信已经支持小程序了呀

有一些到微信版本有要求低版本不能使用。

Reply View the author
chdkd
deepin
2021-02-01 20:24
#5

感谢分享!

Reply View the author
非专业摸鱼选手
deepin
2021-02-01 22:02
#6

wine 本身就是第三方软件。完全可以自己摸索着进行安装使用。

官方只是为了让大家更快的融入linux。才做的deepin-wine。

所以,大家不要啥都指望他们都做了。是不是。

自己搞成就感更大啊!

 

Reply View the author
落魄魂师
deepin
2021-02-02 17:08
#7

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

请问这条命令是一次执行完,还是要分开执行?

1. env WINEPREFIX=~/.deepinwine/Deepin-WeChat

2. env WINEPREFIX=.deepinwine/deepin-wine5-stable/bin/wine

不然会报错

Reply View the author
落魄魂师
deepin
2021-02-02 17:09
#8

Reply View the author
ff32a
deepin
2021-02-02 19:20
#9
落魄魂师

如果是直接复制上面命令的话,要确保你的终端当前目录为用户目录(pwd可查看),或按下面命令中使用绝对路径:

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

如果之前从应用商店安装了wine程序的话,应该都会有~/.deepinwine/deepin-wine5-stable/bin/wine

Reply View the author
落魄魂师
deepin
2021-02-02 21:39
#10
ff32a

如果是直接复制上面命令的话,要确保你的终端当前目录为用户目录(pwd可查看),或按下面命令中使用绝对路径:

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

如果之前从应用商店安装了wine程序的话,应该都会有~/.deepinwine/deepin-wine5-stable/bin/wine

你好,我是在当前./deepinwine的目录下执行命令的,已经也安装了微信(wine),不过执行就报这个。那应该可以自己创建这个文件夹?

Reply View the author
ff32a
deepin
2021-02-03 00:30
#11
落魄魂师

你好,我是在当前./deepinwine的目录下执行命令的,已经也安装了微信(wine),不过执行就报这个。那应该可以自己创建这个文件夹?

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

用这个命令,注意把~/Downloads/WeChatSetup.exe注意改成你下载的文件路径,另外确认~/.deepinwine/deepin-wine5-stable/bin/wine 是否存在。

Reply View the author
ff32a
deepin
2021-02-03 00:57
#12
落魄魂师

你好,我是在当前./deepinwine的目录下执行命令的,已经也安装了微信(wine),不过执行就报这个。那应该可以自己创建这个文件夹?

你也可以安装deepin-wine5后使用 deepin-wine5替换 ~/.deepinwine/deepin-wine5-stable/bin/wine 

Reply View the author
lyh458
deepin
2021-05-26 18:31
#13

我发现升级微信后,NVIDIA独显模式下,微信无法启动;切换为集显后正常启动。错误提示:

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

Reply View the author
lyh458
deepin
2021-05-26 18:56
#14
lyh458

我发现升级微信后,NVIDIA独显模式下,微信无法启动;切换为集显后正常启动。错误提示:

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

解决了。参考Steam doesn't work after update to Ubuntu 19.04

安装32位的libnvidia-gl,430为驱动版本号(和现驱动版本一致)

sudo apt install libnvidia-gl-430:i386
Reply View the author