UOS安装electron-wechat实现微信双开

本实例在 UOS 家庭版 22.0 中安装测试,安装electron-wechat实现微信双开。

修改host文件

  • 修改host文件解决Github无法访问及文件下载
sudo vim /etc/hosts

添加以下内容

# Github
20.205.243.166 github.com
31.13.80.169 github.global.ssl.fastly.net
185.199.109.153 appimage.github.io
151.101.100.133 raw.githubusercontent.com

访问 https://github.com/eNkru/freechat/releases 并下载微信 appimages包或deb包,只需安装一个即可,两个方式无法同时启动。

下载安装deb版

cd ~/Downloads
wget https://github.com/eNkru/freechat/releases/download/v1.0.0/electron-wechat_1.0.0_amd64.deb
sudo dpkg -i electron-wechat_1.0.0_amd64.deb
#提示缺少依赖则先安装依赖
sudo apt install -f
#装好依赖后再次安装deb包

启动wechat

程序位置 /usr/local/bin/electron-wechat

在终端中输入以下命令启动

electron-wechat

下载安装Appimage版本

wget https://github.com/eNkru/freechat/releases/download/v1.0.0/electron-wechat-1.0.0-x86_64.AppImage -O wechat.Appimage
# 赋予可执行权限
chmod +x wechat.Appimage
# 启动微信
./wechat.Appimage

猜你喜欢

转载自blog.csdn.net/no1xium/article/details/132965048