zq1997 / deepin-wine

【deepin源移植】Debian/Ubuntu上的QQ/微信快速安装方式
https://deepin-wine.i-m.dev
GNU General Public License v3.0
5.18k stars 388 forks source link

tim无法创建文件夹保存下载内容, 无法记录以登陆帐号信息,每次启动都需重新输入帐号密码 #290

Open Achiyun opened 2 years ago

Achiyun commented 2 years ago

打开已下载内容不会调用文件管理器,而是在浏览器打开 http://--show-item%20/home/chenchiyu/.deepinwine/Deepin-TIM/drive_c/Program

无法保存帐号信息,每次启动都需重新输入帐号密码` 没有自动创建~/Documents/Tencent Files

~ echo $XDG_CURRENT_DESKTOP GNOME ☁ ~ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04 LTS Release: 22.04 Codename: jammy ☁ ~ grep -rn '^\sdeb ' --include '.list' /etc/apt/ /etc/apt/sources.list:2:deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy main restricted universe multiverse /etc/apt/sources.list:4:deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-updates main restricted universe multiverse /etc/apt/sources.list:6:deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-backports main restricted universe multiverse /etc/apt/sources.list:8:deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-security main restricted universe multiverse /etc/apt/sources.list:12:deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-proposed main restricted universe multiverse /etc/apt/sources.list:14:deb http://mirrors.aliyun.com/ubuntu/ jammy main universe restricted multiverse /etc/apt/sources.list:15:deb http://security.ubuntu.com/ubuntu/ jammy-security multiverse universe main restricted /etc/apt/sources.list:16:deb http://mirrors.aliyun.com/ubuntu/ jammy-updates multiverse universe main restricted /etc/apt/sources.list:17:deb http://mirrors.aliyun.com/ubuntu/ jammy-backports multiverse universe main restricted /etc/apt/sources.list.d/madlinux.list:1:deb https://sourceforge.net/projects/madlinux/files/repo core main /etc/apt/sources.list.d/microsoft-edge.list:3:deb [arch=amd64] https://packages.microsoft.com/repos/edge/ stable main /etc/apt/sources.list.d/steam.list:1:deb https://repo.steampowered.com/steam/ stable steam /etc/apt/sources.list.d/vala-team-ubuntu-ppa-focal.list:1:deb http://ppa.launchpad.net/vala-team/ppa/ubuntu jammy main /etc/apt/sources.list.d/docker.list:1:deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu jammy stable /etc/apt/sources.list.d/lakinduakash-ubuntu-lwh-focal.list:1:deb http://ppa.launchpad.net/lakinduakash/lwh/ubuntu jammy main /etc/apt/sources.list.d/shemgp-ubuntu-gnome-40-focal.list:1:deb http://ppa.launchpad.net/shemgp/gnome-40/ubuntu focal main /etc/apt/sources.list.d/redis.list:1:deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb jammy main /etc/apt/sources.list.d/deepin-wine.i-m.dev.list:1:deb [trusted=yes] https://deepin-wine.i-m.dev / /etc/apt/sources.list.d/lutris-team-ubuntu-lutris-impish.list:1:deb http://ppa.launchpad.net/lutris-team/lutris/ubuntu/ jammy main /etc/apt/sources.list.d/google-chrome.list:3:deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main ☁ ~

cliffigor commented 2 years ago

这个问题可能是因为每次启动都会生成新的容器导致的,又或者是TIM的文件路径不在容器的My Document文件下导致的。一通瞎操作解决了,不过我也不确定解决方法适不适用于你。

  1. 删除原先的TIM容器 rm -rf ~/.deepinwine/Deepin-TIM
  2. 修改了#270 中的RunApp函数,采用的是题主thep0y的方法,Rongronggg9的方法对我无效
  3. 启动TIM,发现TIM的文件路径是c:\Program Files\Tencent\TIM\Users\QQnumber\
  4. 建立上面路径和/home/username/Documents 的软链接,就能直接在Documents底下访问了。 cd /home/username/Documents mkdir TIM cd TIM ln -s /home/username/.deepinwine/Deepin-TIM/drive_c/'Program Files'/Tencent/TIM/Users ./

并且也能记住密码,最后一步操作可有可无。

具体的实用性我也不能保证,我自己大概就是这么个流程解决的,也懒得再装一遍测试了。