mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-08-09 12:07:39 -05:00
parent
4a563a131b
commit
feee9cc328
|
|
@ -1107,8 +1107,9 @@ void MainWindow::actCheckCardUpdates()
|
|||
binaryName = getCardUpdaterBinaryName();
|
||||
#endif
|
||||
|
||||
if (dir.exists(binaryName))
|
||||
if (dir.exists(binaryName)) {
|
||||
updaterCmd = dir.absoluteFilePath(binaryName);
|
||||
}
|
||||
|
||||
if (updaterCmd.isEmpty()) {
|
||||
QMessageBox::warning(this, tr("Error"),
|
||||
|
|
@ -1116,7 +1117,7 @@ void MainWindow::actCheckCardUpdates()
|
|||
return;
|
||||
}
|
||||
|
||||
cardUpdateProcess->start("\"" + updaterCmd + "\"", QStringList());
|
||||
cardUpdateProcess->start(updaterCmd, QStringList());
|
||||
}
|
||||
|
||||
void MainWindow::cardUpdateError(QProcess::ProcessError err)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user