diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-11-18 16:04:08 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-11-19 22:11:45 +0100 |
commit | 69be23c5f629884465dec98efcb9d5a2678b4df5 (patch) | |
tree | 9c9135bb995006fac7a6de3b349fe24b325dbe99 /application/MultiMC.h | |
parent | e974950d48e4e8b9500acbeadf9c1abdab1dec72 (diff) | |
download | MultiMC-69be23c5f629884465dec98efcb9d5a2678b4df5.tar MultiMC-69be23c5f629884465dec98efcb9d5a2678b4df5.tar.gz MultiMC-69be23c5f629884465dec98efcb9d5a2678b4df5.tar.lz MultiMC-69be23c5f629884465dec98efcb9d5a2678b4df5.tar.xz MultiMC-69be23c5f629884465dec98efcb9d5a2678b4df5.zip |
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.
Diffstat (limited to 'application/MultiMC.h')
-rw-r--r-- | application/MultiMC.h | 4 |
1 files changed, 1 insertions, 3 deletions
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<QFile> logFile; }; |