summarylogtreecommitdiffstats
path: root/wechat.sh
blob: cc88b67c79b4f0c1860080dcca318617be039787 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/sh
wechat_pid=`pidof wechat-uos`
if test  $wechat_pid ;then
    kill -9 $wechat_pid
fi
bwrap --dev-bind / / \
    --bind /usr/share/wechat-uos/etc/os-release /etc/os-release \
    --bind /usr/share/wechat-uos/etc/lsb-release /etc/lsb-release \
    --bind /usr/lib/wechat-uos/license/ /usr/lib/license/ \
    --bind /usr/share/wechat-uos/var/ /var/ \
    __ELECTRON__ /usr/lib/wechat-uos "$@"