mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Update Main.cpp
This commit is contained in:
parent
247f07075f
commit
10e2fa331d
1 changed files with 5 additions and 1 deletions
|
@ -263,7 +263,11 @@ int main(int argc, char* argv[])
|
|||
win.Show();
|
||||
|
||||
#ifdef _WIN32
|
||||
ShellExecute(NULL, "open", "Plugin\\Updater\\Updater.exe", "/S", NULL, SW_SHOWDEFAULT);
|
||||
QString program = "Plugin/Updater/Updater.exe";
|
||||
QStringList arguments = "/S"
|
||||
|
||||
QProcess *process = new QProcess(this);
|
||||
process->start(program, arguments);
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue