We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f2ceea commit 9a27513Copy full SHA for 9a27513
src/GUI/Utils/Updater.cc
@@ -57,7 +57,7 @@ namespace degate
57
QString path = QDir(QCoreApplication::applicationDirPath()).absoluteFilePath(tool_name);
58
59
QStringList args;
60
- args.append("--checkupdates");
+ args.append("ch");
61
62
process.start(path, args);
63
}
@@ -68,7 +68,7 @@ namespace degate
68
69
QByteArray data = process.readAllStandardOutput();
70
71
- if(exit_code == 1)
+ if(!data.contains("<updates>"))
72
{
73
if (notify_no_update)
74
@@ -113,7 +113,7 @@ namespace degate
113
114
if (reply == QMessageBox::Yes)
115
116
- QStringList args("--updater");
+ QStringList args("up");
117
bool success = QProcess::startDetached(tool_name, args);
118
119
if (success)
0 commit comments