mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-09 05:39:13 -07:00
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user