[problem help] 微信原生版 Universal 如何双开
Tofloor
poster avatar
lflflf
deepin
2024-03-14 21:22
Author

如题,尝试多次也没有办法双开或多开,复制一份目录也无法做到。

Reply Favorite View the author
All Replies
艾丝妲单推人
deepin
2024-03-14 21:26
#1

wine yyds

Reply View the author
阿尼樱奈奈
Moderator
2024-03-14 21:41
#2
It has been deleted!
jjcui8595
deepin
2024-03-14 21:49
#3

试试原生、wine、安卓三选二

Reply View the author
lflflf
deepin
2024-03-14 22:03
#4

终于找着了双开的办法了store.spark-app.wechat-linux-spark_2.2-real1.0.0.236_amd64.deb

双开脚本,主要是微信绑的.xwechat目录导致的单开,这样也同时把第二个启动的目录改一下。

#!/bin/bash

LSB_RELEASE_FILE=$(realpath /etc/lsb-release)
mkdir ~/.xwechat2 2>/dev/null

bwrap --dev-bind / / \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/usr/lib/license/libuosdevicea.so /usr/lib/license/libuosdevicea.so \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/var/lib/uos-license /var/lib/uos-license \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/var/uos /var/uos \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/uos-lsb ${LSB_RELEASE_FILE} \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/uos-release /usr/lib/os-release \
      /opt/apps/store.spark-app.wechat-linux-spark/files/files/wechat $@ &

bwrap --dev-bind / / \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/usr/lib/license/libuosdevicea.so /usr/lib/license/libuosdevicea.so \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/var/lib/uos-license /var/lib/uos-license \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/var/uos /var/uos \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/uos-lsb ${LSB_RELEASE_FILE} \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/uos-release /usr/lib/os-release \
      --bind ~/.xwechat2 ~/.xwechat \
      /opt/apps/store.spark-app.wechat-linux-spark/files/files/wechat $@ &



Reply View the author
兆兆嘟嘟嘟
deepin
2024-03-14 22:09
#5
lflflf

终于找着了双开的办法了store.spark-app.wechat-linux-spark_2.2-real1.0.0.236_amd64.deb

双开脚本,主要是微信绑的.xwechat目录导致的单开,这样也同时把第二个启动的目录改一下。

#!/bin/bash

LSB_RELEASE_FILE=$(realpath /etc/lsb-release)
mkdir ~/.xwechat2 2>/dev/null

bwrap --dev-bind / / \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/usr/lib/license/libuosdevicea.so /usr/lib/license/libuosdevicea.so \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/var/lib/uos-license /var/lib/uos-license \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/var/uos /var/uos \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/uos-lsb ${LSB_RELEASE_FILE} \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/uos-release /usr/lib/os-release \
      /opt/apps/store.spark-app.wechat-linux-spark/files/files/wechat $@ &

bwrap --dev-bind / / \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/usr/lib/license/libuosdevicea.so /usr/lib/license/libuosdevicea.so \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/var/lib/uos-license /var/lib/uos-license \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/var/uos /var/uos \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/uos-lsb ${LSB_RELEASE_FILE} \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/uos-release /usr/lib/os-release \
      --bind ~/.xwechat2 ~/.xwechat \
      /opt/apps/store.spark-app.wechat-linux-spark/files/files/wechat $@ &



厉害。不过我很疑惑这怎么跟bubblewrap扯上关系的。

Reply View the author
晚秋(lateautumn)
Moderator
2024-03-14 22:37
#6
lflflf

终于找着了双开的办法了store.spark-app.wechat-linux-spark_2.2-real1.0.0.236_amd64.deb

双开脚本,主要是微信绑的.xwechat目录导致的单开,这样也同时把第二个启动的目录改一下。

#!/bin/bash

LSB_RELEASE_FILE=$(realpath /etc/lsb-release)
mkdir ~/.xwechat2 2>/dev/null

bwrap --dev-bind / / \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/usr/lib/license/libuosdevicea.so /usr/lib/license/libuosdevicea.so \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/var/lib/uos-license /var/lib/uos-license \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/var/uos /var/uos \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/uos-lsb ${LSB_RELEASE_FILE} \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/uos-release /usr/lib/os-release \
      /opt/apps/store.spark-app.wechat-linux-spark/files/files/wechat $@ &

bwrap --dev-bind / / \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/usr/lib/license/libuosdevicea.so /usr/lib/license/libuosdevicea.so \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/var/lib/uos-license /var/lib/uos-license \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/var/uos /var/uos \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/uos-lsb ${LSB_RELEASE_FILE} \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/uos-release /usr/lib/os-release \
      --bind ~/.xwechat2 ~/.xwechat \
      /opt/apps/store.spark-app.wechat-linux-spark/files/files/wechat $@ &



学习了,万能的坛友applaud

Reply View the author
乾豫恒益
deepin
2024-03-15 08:40
#7

👍 👍 👍

Reply View the author
waittingsummer
deepin
2024-03-15 09:07
#8

插眼,目前不需要

Reply View the author
流浪的加菲
deepin
2024-03-15 10:24
#9

厉害了doubt

Reply View the author
笨笨熊
deepin
2024-03-19 09:39
#10

UOS下请问如何双开

Reply View the author
deepin
2024-03-19 11:24
#11

厉害!

Reply View the author
神末shenmo
deepin
Spark-App
2024-03-27 10:14
#12
lflflf

终于找着了双开的办法了store.spark-app.wechat-linux-spark_2.2-real1.0.0.236_amd64.deb

双开脚本,主要是微信绑的.xwechat目录导致的单开,这样也同时把第二个启动的目录改一下。

#!/bin/bash

LSB_RELEASE_FILE=$(realpath /etc/lsb-release)
mkdir ~/.xwechat2 2>/dev/null

bwrap --dev-bind / / \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/usr/lib/license/libuosdevicea.so /usr/lib/license/libuosdevicea.so \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/var/lib/uos-license /var/lib/uos-license \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/var/uos /var/uos \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/uos-lsb ${LSB_RELEASE_FILE} \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/uos-release /usr/lib/os-release \
      /opt/apps/store.spark-app.wechat-linux-spark/files/files/wechat $@ &

bwrap --dev-bind / / \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/usr/lib/license/libuosdevicea.so /usr/lib/license/libuosdevicea.so \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/var/lib/uos-license /var/lib/uos-license \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/var/uos /var/uos \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/uos-lsb ${LSB_RELEASE_FILE} \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/uos-release /usr/lib/os-release \
      --bind ~/.xwechat2 ~/.xwechat \
      /opt/apps/store.spark-app.wechat-linux-spark/files/files/wechat $@ &



也许可以改一下USER环境变量?这样不用改启动脚本了

Reply View the author
qq4945286
deepin
2024-05-11 09:45
#13
lflflf

终于找着了双开的办法了store.spark-app.wechat-linux-spark_2.2-real1.0.0.236_amd64.deb

双开脚本,主要是微信绑的.xwechat目录导致的单开,这样也同时把第二个启动的目录改一下。

#!/bin/bash

LSB_RELEASE_FILE=$(realpath /etc/lsb-release)
mkdir ~/.xwechat2 2>/dev/null

bwrap --dev-bind / / \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/usr/lib/license/libuosdevicea.so /usr/lib/license/libuosdevicea.so \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/var/lib/uos-license /var/lib/uos-license \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/var/uos /var/uos \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/uos-lsb ${LSB_RELEASE_FILE} \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/uos-release /usr/lib/os-release \
      /opt/apps/store.spark-app.wechat-linux-spark/files/files/wechat $@ &

bwrap --dev-bind / / \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/usr/lib/license/libuosdevicea.so /usr/lib/license/libuosdevicea.so \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/var/lib/uos-license /var/lib/uos-license \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/var/uos /var/uos \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/uos-lsb ${LSB_RELEASE_FILE} \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/uos-release /usr/lib/os-release \
      --bind ~/.xwechat2 ~/.xwechat \
      /opt/apps/store.spark-app.wechat-linux-spark/files/files/wechat $@ &



image.png

在你的基础上我添加了一个图标,这样打开就不用开启终端。跟打开普通的软件一档,双击。

[Desktop Entry] Categories=Application;wechat; Comment=Icon wechat Encoding=UTF-8 Exec=/home/deepin/apps/微信多开/微信多开.sh Icon=/opt/apps/store.spark-app.wechat-linux-spark/entries/icons/hicolor/512x512/apps/wechat.png Name=微信2 StartupNotify=true Terminal=false Type=Application X-Deepin-Vendor=user-custom

Reply View the author
duanchi
deepin
2024-09-28 09:31
#14

要不你们直接做成一个双击的东西吧。要不然我这伸手党的确不知道怎么做哎……

Reply View the author
州客
deepin
2024-11-07 15:06
#15
lflflf

终于找着了双开的办法了store.spark-app.wechat-linux-spark_2.2-real1.0.0.236_amd64.deb

双开脚本,主要是微信绑的.xwechat目录导致的单开,这样也同时把第二个启动的目录改一下。

#!/bin/bash

LSB_RELEASE_FILE=$(realpath /etc/lsb-release)
mkdir ~/.xwechat2 2>/dev/null

bwrap --dev-bind / / \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/usr/lib/license/libuosdevicea.so /usr/lib/license/libuosdevicea.so \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/var/lib/uos-license /var/lib/uos-license \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/var/uos /var/uos \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/uos-lsb ${LSB_RELEASE_FILE} \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/uos-release /usr/lib/os-release \
      /opt/apps/store.spark-app.wechat-linux-spark/files/files/wechat $@ &

bwrap --dev-bind / / \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/usr/lib/license/libuosdevicea.so /usr/lib/license/libuosdevicea.so \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/var/lib/uos-license /var/lib/uos-license \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/license/var/uos /var/uos \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/uos-lsb ${LSB_RELEASE_FILE} \
      --bind /opt/apps/store.spark-app.wechat-linux-spark/files/uos-release /usr/lib/os-release \
      --bind ~/.xwechat2 ~/.xwechat \
      /opt/apps/store.spark-app.wechat-linux-spark/files/files/wechat $@ &



现在微信出4.0了,这个脚本怎么修改呢

Reply View the author