mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-22 04:24:44 +00:00
fix update linux console
This commit is contained in:
parent
a5968b630d
commit
0f76f256f4
1 changed files with 5 additions and 1 deletions
|
@ -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"
|
||||
|
@ -525,4 +529,4 @@ void CheckUpdate::Install() {
|
|||
this, tr("Error"),
|
||||
QString(tr("Failed to create the update script file") + ":\n" + scriptFileName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue