mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-05 08:36:20 +00:00
fix update linux console (#1238)
This commit is contained in:
parent
d7e5b5f13f
commit
20db37f235
1 changed files with 5 additions and 1 deletions
|
@ -454,6 +454,10 @@ void CheckUpdate::Install() {
|
||||||
" sleep 2\n"
|
" sleep 2\n"
|
||||||
" extract_file\n"
|
" extract_file\n"
|
||||||
" sleep 2\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"
|
" cp -r \"%2/\"* \"%3/\"\n"
|
||||||
" sleep 2\n"
|
" sleep 2\n"
|
||||||
" rm \"%3/update.sh\"\n"
|
" rm \"%3/update.sh\"\n"
|
||||||
|
@ -525,4 +529,4 @@ void CheckUpdate::Install() {
|
||||||
this, tr("Error"),
|
this, tr("Error"),
|
||||||
QString(tr("Failed to create the update script file") + ":\n" + scriptFileName));
|
QString(tr("Failed to create the update script file") + ":\n" + scriptFileName));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue