mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 10:18:40 +12:00
Auto-Updater: increase lock file waiting timeout in the case of updating
Normal case: timeout reduced from 3s to 2s. Updating case: increased timeout to 10s.
This commit is contained in:
parent
3d78694590
commit
19e20d9c19
2 changed files with 9 additions and 4 deletions
|
@ -596,9 +596,9 @@ bool update_manager::handle_rpcs3()
|
|||
QMessageBox::information(m_parent, tr("Auto-updater"), tr("Update successful!"));
|
||||
|
||||
#ifdef _WIN32
|
||||
const int ret = _wexecl(orig_path, orig_path, nullptr);
|
||||
const int ret = _wexecl(orig_path, orig_path, L"--updating", nullptr);
|
||||
#else
|
||||
const int ret = execl(replace_path.c_str(), replace_path.c_str(), nullptr);
|
||||
const int ret = execl(replace_path.c_str(), replace_path.c_str(), "--updating", nullptr);
|
||||
#endif
|
||||
if (ret == -1)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue