blob: 5e5daee4d09bf41fa4fef18230cf10ce2814eceb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/bash
if [ -d ~/.config/QQ/versions ]; then
find ~/.config/QQ/versions -name sharp-lib -type d -exec rm -r {} \; 2>/dev/null
find ~/.config/QQ/versions -name libssh2.so.1 -type f -exec rm {} \; 2>/dev/null
fi
rm -rf ~/.config/QQ/crash_files/*
XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config}
exec /opt/QQ/qq"$@"
|