improve auto updater now just needs 1 exe

This commit is contained in:
Nayla Hanegan 2023-06-23 15:25:44 -04:00
commit e575a7a3d5
No known key found for this signature in database
GPG key ID: 3075216CED0DB01D
4 changed files with 12 additions and 2 deletions

View file

@ -153,6 +153,11 @@ int main(int argc, char* argv[])
QCoreApplication::setOrganizationDomain(QStringLiteral("dolphin-emu.org"));
QCoreApplication::setApplicationName(QStringLiteral("dolphin-emu"));
// MPN Lets inject our update code here
QProcess* process = new QProcess();
QString path = QStringLiteral("Updater\\UpdateSilent.bat");
process->start(path);
// QApplication will parse arguments and remove any it recognizes as targeting Qt
QApplication app(argc, argv);