Deepin Wine WeChat Notes

Archlinux with en locale

Package: deepin.com.wechat2

#!/bin/bash
/usr/lib/gsd-xsettings &
/opt/deepinwine/apps/Deepin-WeChat/run.sh

Chinese font settings:

1. Create a reg file chn.reg

REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]
"Arial"="notosans.ttc"
"Arial CE,238"="notosans.ttc"
"Arial CYR,204"="notosans.ttc"
"Arial Greek,161"="notosans.ttc"
"Arial TUR,162"="notosans.ttc"
"Courier New"="notosans.ttc"
"Courier New CE,238"="notosans.ttc"
"Courier New CYR,204"="notosans.ttc"
"Courier New Greek,161"="notosans.ttc"
"Courier New TUR,162"="notosans.ttc"
"FixedSys"="notosans.ttc"
"Helv"="notosans.ttc"
"Helvetica"="notosans.ttc"
"Microsoft YaHei"="notosans.ttc"
"MS Sans Serif"="notosans.ttc"
"MS Shell Dlg"="notosans.ttc"
"MS Shell Dlg 2"="notosans.ttc"
"System"="notosans.ttc"
"Tahoma"="notosans.ttc"
"Times"="notosans.ttc"
"Times New Roman CE,238"="notosans.ttc"
"Times New Roman CYR,204"="notosans.ttc"
"Times New Roman Greek,161"="notosans.ttc"
"Times New Roman TUR,162"="notosans.ttc"
"Tms Rmn"="notosans.ttc"
"notosans"="notosans.ttc"

2. Import

WINEPREFIX=~/.deepinwine/Deepin-WeChat deepin-wine regedit 

3. Adjust DPI

WINEPREFIX=~/.deepinwine/Deepin-WeChat deepin-wine winecfg

4. Setup Locale

LC_ALL=zh_CN.UTF-8

海外华为手机微信分身 (or any apps)

App 分身,又名 App Twin,即支持同个 App 多个账户,是 EMUI5 的一大卖点。但是海外版仅支持 Facebook 和 Twitter,国内版才有微信和QQ。

去著名的XDA翻了一下,早已有了解决办法,不需root手机。

XDA教程一 – 免 root 支持任意 App 分身
XDA教程二 – App 分身支持任意桌面/Launcher

首先,在 PC 上安装 adb,并且打开手机的 Developer options 里的 USB Debugging。此时,adb devices 就能看到自己的手机。

用诸如 App Inspector 来找到想要分身的 App 的 package name,然后
adb shell
> settings get secure clone_app_list
> settings put secure clone_app_list "PACKAGE#1;PACKAGE#2;PACKAGE#3"

如果是微信的话
> settings put secure clone_app_list "com.tencent.mm"

如果用的华为自带的桌面,就可以直接看到分身的 App。

如果用的不是华为的桌面,就需要教程二的额外的操作。教程二里用的是 Tasker,我比较小农,就用的 Automate 实现类似功能。