Fix path to appimageupdatetool.
This commit is contained in:
parent
f2ec85aac0
commit
eb640e414e
|
@ -27,7 +27,7 @@ int main( int argc, char *argv[] )
|
|||
|
||||
for (int i = 1; i < argc; ++i) {
|
||||
if (!qstrcmp(argv[i], "--update")) {
|
||||
QString program = QProcessEnvironment::systemEnvironment().value("APPDIR", "/usr/bin") + "/appimageupdatetool";
|
||||
QString program = QProcessEnvironment::systemEnvironment().value("APPDIR", "") + "/usr/bin/appimageupdatetool";
|
||||
QProcess updater;
|
||||
updater.setProcessChannelMode(QProcess::ForwardedChannels);
|
||||
updater.start(program, QStringList() << QProcessEnvironment::systemEnvironment().value("APPIMAGE", ""));
|
||||
|
|
Loading…
Reference in a new issue