From 69be23c5f629884465dec98efcb9d5a2678b4df5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Fri, 18 Nov 2016 16:04:08 +0100 Subject: GH-1726 better failure detection for updates Instead of just checking if the new version started, make sure it is able to write its IPC key to a file and then use the key to connect to the process. --- application/MultiMC.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'application/MultiMC.h') diff --git a/application/MultiMC.h b/application/MultiMC.h index c416b8c0..23cafdb1 100644 --- a/application/MultiMC.h +++ b/application/MultiMC.h @@ -132,9 +132,6 @@ public: return m_rootPath; } - // install updates now. - void installUpdates(const QString updateFilesDir, GoUpdate::OperationList operations); - /*! * Opens a json file using either a system default editor, or, if not empty, the editor * specified in the settings @@ -223,5 +220,6 @@ private: LocalPeer * m_peerInstance = nullptr; public: QString m_instanceIdToLaunch; + bool m_liveCheck = false; std::unique_ptr logFile; }; -- cgit v1.2.3