AutoUpdater: support optionally restarting Dolphin after update

This commit is contained in:
Pierre Bourdon
2018-03-23 00:29:03 +01:00
parent 773ec975f3
commit 9628333b86
6 changed files with 55 additions and 22 deletions

View File

@ -191,7 +191,8 @@ void SetSysDirectory(const std::string& path);
std::string GetBundleDirectory();
#endif
std::string& GetExeDirectory();
std::string GetExePath();
std::string GetExeDirectory();
bool WriteStringToFile(const std::string& str, const std::string& filename);
bool ReadFileToString(const std::string& filename, std::string& str);