deepin 微信多开教程
Tofloor
poster avatar
CN_GuGe
deepin
2020-04-27 02:13
Author
因为工作期间需要用到多个微信所以网上找了找教程,接下来分享一下
通过以下方法,可实现在深度Deepin 15.11操作系统下微信双开的效果。不过也可以采用更为快捷的方法:把图标放到桌面上,然后快速双击。
在深度系统下实现微信双开的方法
1、先在系统下单开微信
需要登录一个微信,然后成功后退出。
2、编辑文件
然后进入/home/自己用户名/.deepinwine目录,复制Deepin-WeChat文件夹到Deepin-WeChat2。
然后编辑
/opt/deepinwine/apps/Deepin-WeChat/run.sh:(15.11)
/opt/apps/com.qq.weixin.deepin/files/run.sh我的是 v20 是这个路径)
把里边的内容复制多份  我目前是尝试三开  成功
  1. 把里面的内容重复复制一份,就是BOTTLENAME(15.11)改了下:

  2. BOTTLENAME="Deepin-WeChat"

  3. APPVER="2.6.8.65deepin0"

  4. EXEC_PATH="c:/Program Files/Tencent/WeChat/WeChat.exe"

  5. if [ -n "$EXEC_PATH" ];then

  6.  /opt/deepinwine/tools/run_v2.sh $BOTTLENAME $APPVER "$EXEC_PATH" "$@"

  7. else

  8.  /opt/deepinwine/tools/run_v2.sh $BOTTLENAME $APPVER "uninstaller.exe" "$@"

  9. fi
Copy the Code

  1. (v20的内容)
  2. BOTTLENAME="Deepin-WeChat2"

  3. APPVER="2.6.8.65deepin0"

  4. EXEC_PATH="c:/Program Files/Tencent/WeChat/WeChat.exe"

  5. if [ -n "$EXEC_PATH" ];then

  6.  /opt/deepinwine/tools/run_v2.sh $BOTTLENAME $APPVER "$EXEC_PATH" "$@"

  7. else

  8.  /opt/deepinwine/tools/run_v2.sh $BOTTLENAME $APPVER "uninstaller.exe" "$@"

  9. fi
Copy the Code

3、找到run_v2.sh(15.11只有这个)或者run_v3.sh(v20是这个)我顺便也把v2的也改了,文件删除相关的行
再找到/opt/deepinwine/tools/run_v2.sh文件并且打开它,删除/opt/deepinwine/tools/kill.sh "$name" block这一行即可。
再找到/opt/deepinwine/tools/run_v3.sh文件并且打开它,删除/opt/deepinwine/tools/kill.sh "$name" block这一行即可。

如果你之前运行过微信了那就需要在/home/cnguge/.deepinwine  路径复制Deepin-WeChat   名字和你run.sh的名字对应

Reply Favorite View the author
All Replies
ShineWay
deepin
2020-04-27 06:18
#1
趁微信没反应过来多点几次就能多开了
Reply View the author
CN_GuGe
deepin
2020-04-27 18:05
#2
https://bbs.deepin.org/post/193006
趁微信没反应过来多点几次就能多开了

那只能几率
Reply View the author
hh0321
deepin
2020-07-13 18:53
#3
没有  .deepinwine目录     是要先安装个wine 吗?
Reply View the author
hh0321
deepin
2020-07-13 19:40
#4
我还是不行啊  从最开始复制Deepin-WeChat文件夹到Deepin-WeChat2。这就没找到eepin-WeChat2这个文件夹,然后我自己新建了一个Deepin-WeChat2文件夹,开始复制时出现错误 个别文件不能复制,我就跳过了。然后开始安装楼主指示安装,直到最后一步也出现一个尴尬的问题【如果你之前运行过微信了那就需要在/home/cnguge/.deepinwine  路径复制Deepin-WeChat   名字和你run.sh的名字对应】这个东西我就没找到.....说实话也没看懂....稀里糊涂弄了  然后点微信 还是只能开一个..再点微信图标就没有其他反应了
Reply View the author
CN_GuGe
deepin
2020-07-14 00:07
#5
https://bbs.deepin.org/post/193006
我还是不行啊  从最开始复制Deepin-WeChat文件夹到Deepin-WeChat2。这就没找到eepin-WeChat2这个文件夹,然 ...

可以先把.deepinwine目录下的Deepin-WeChat 文件删除
直接修改/opt/apps/com.qq.weixin.deepin/files 下的run.sh 文件
  1. #!/bin/sh

  2. #   Copyright (C) 2016 Deepin, Inc.
  3. #
  4. #   Author:     Li LongYu
  5. #               Peng Hao

  6. BOTTLENAME="Deepin-WeChat"
  7. APPVER="2.6.8.65deepin0"
  8. EXEC_PATH="c:/Program Files/Tencent/WeChat/WeChat.exe"

  9. export MIME_TYPE=""
  10. export DEB_PACKAGE_NAME="com.qq.weixin.deepin"

  11. if [ -n "$EXEC_PATH" ];then
  12.     /opt/deepinwine/tools/run_v3.sh $BOTTLENAME $APPVER "$EXEC_PATH" "$@"
  13. else
  14.     /opt/deepinwine/tools/run_v3.sh $BOTTLENAME $APPVER "uninstaller.exe" "$@"
  15. fi

  16. BOTTLENAME="Deepin-WeChat1"
  17. APPVER="2.6.8.65deepin0"
  18. EXEC_PATH="c:/Program Files/Tencent/WeChat/WeChat.exe"

  19. export MIME_TYPE=""
  20. export DEB_PACKAGE_NAME="com.qq.weixin.deepin"

  21. if [ -n "$EXEC_PATH" ];then
  22.     /opt/deepinwine/tools/run_v3.sh $BOTTLENAME $APPVER "$EXEC_PATH" "$@"
  23. else
  24.     /opt/deepinwine/tools/run_v3.sh $BOTTLENAME $APPVER "uninstaller.exe" "$@"
  25. fi

  26. BOTTLENAME="Deepin-WeChat2"
  27. APPVER="2.6.8.65deepin0"
  28. EXEC_PATH="c:/Program Files/Tencent/WeChat/WeChat.exe"

  29. export MIME_TYPE=""
  30. export DEB_PACKAGE_NAME="com.qq.weixin.deepin"

  31. if [ -n "$EXEC_PATH" ];then
  32.     /opt/deepinwine/tools/run_v3.sh $BOTTLENAME $APPVER "$EXEC_PATH" "$@"
  33. else
  34.     /opt/deepinwine/tools/run_v3.sh $BOTTLENAME $APPVER "uninstaller.exe" "$@"
  35. fi
Copy the Code


保存之后修改
3、找到run_v2.sh(15.11只有这个)或者run_v3.sh(v20是这个)我顺便也把v2的也改了,文件删除相关的行
再找到/opt/deepinwine/tools/run_v2.sh文件并且打开它,删除/opt/deepinwine/tools/kill.sh "$name" block这一行即可。
再找到/opt/deepinwine/tools/run_v3.sh文件并且打开它,删除/opt/deepinwine/tools/kill.sh "$name" block这一行即可。


做完之后直接点击微信图标回自动创建
Reply View the author
CN_GuGe
deepin
2020-07-14 00:08
#6
https://bbs.deepin.org/post/193006
没有  .deepinwine目录     是要先安装个wine 吗?

没有的话你可以直接去应用市场安装一下微信试试看
Reply View the author
hh0321
deepin
2020-07-14 00:37
#7
https://bbs.deepin.org/post/193006
没有的话你可以直接去应用市场安装一下微信试试看

感谢帮助,此问题已解决。
Reply View the author
神经蛙
deepin
2024-07-03 17:46
#8
这个方法现在能继续用吗?
Reply View the author