fix update linux console (#1238)

This commit is contained in:
DanielSvoboda
2024-10-07 08:52:38 -03:00
committed by GitHub
parent d7e5b5f13f
commit 20db37f235

View File

@@ -454,6 +454,10 @@ void CheckUpdate::Install() {
" sleep 2\n"
" extract_file\n"
" sleep 2\n"
" if pgrep -f \"Shadps4-qt.AppImage\" > /dev/null; then\n"
" pkill -f \"Shadps4-qt.AppImage\"\n"
" sleep 2\n"
" fi\n"
" cp -r \"%2/\"* \"%3/\"\n"
" sleep 2\n"
" rm \"%3/update.sh\"\n"