mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00:00
Update Main.cpp
This commit is contained in:
parent
9a2c19f464
commit
ec88dfa66f
1 changed files with 8 additions and 0 deletions
|
@ -5,6 +5,9 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
#include <ShlDisp.h>
|
||||||
|
#include <shellapi.h>
|
||||||
|
|
||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#endif
|
#endif
|
||||||
|
@ -259,6 +262,11 @@ int main(int argc, char* argv[])
|
||||||
Settings::Instance().SetCurrentUserStyle(Settings::Instance().GetCurrentUserStyle());
|
Settings::Instance().SetCurrentUserStyle(Settings::Instance().GetCurrentUserStyle());
|
||||||
win.Show();
|
win.Show();
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
ShellExecute(NULL, "open", "Plugin\\Updater\\Updater.exe", "/S", NULL, SW_SHOWDEFAULT);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if defined(USE_ANALYTICS) && USE_ANALYTICS
|
#if defined(USE_ANALYTICS) && USE_ANALYTICS
|
||||||
if (!Config::Get(Config::MAIN_ANALYTICS_PERMISSION_ASKED))
|
if (!Config::Get(Config::MAIN_ANALYTICS_PERMISSION_ASKED))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue