update: add local-overlay

This commit is contained in:
wyj
2024-11-05 09:39:28 -05:00
parent 09c7389823
commit dfc3187980
16 changed files with 568 additions and 0 deletions
@@ -0,0 +1,12 @@
#!/bin/bash
if [ -d ~/.config/QQ/versions ]; then
find ~/.config/QQ/versions -name sharp-lib -type d -exec rm -r {} \; 2>/dev/null
fi
# Allow users to override command-line options
if [[ -f $XDG_CONFIG_HOME/qq-flags.conf ]]; then
QQ_USER_FLAGS="$(grep -v '^#' $XDG_CONFIG_HOME/qq-flags.conf)"
fi
exec /opt/QQ/qq $QQ_USER_FLAGS "$@"