mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-07 03:22:27 +02:00
Delete testing code
This commit is contained in:
parent
677e0218ef
commit
9fbacd49da
1 changed files with 1 additions and 9 deletions
|
@ -640,13 +640,6 @@ void LauncherManager::onFileDownloaded(ProcessType type) {
|
|||
}
|
||||
|
||||
void LauncherManager::restartNewLauncher() {
|
||||
CString tempPath;
|
||||
LauncherManager::getAndCreatePaths(LauncherManager::PathType::Temp_Directory, tempPath);
|
||||
tempPath += "hql.exe";
|
||||
CString installPath;
|
||||
LauncherManager::getAndCreatePaths(LauncherManager::PathType::Launcher_Directory, installPath);
|
||||
installPath += LAUNCHER_EXE_FILENAME;
|
||||
CopyFile(installPath, tempPath, false);
|
||||
closeLog();
|
||||
ContinueActionOnStart continueAction = ContinueActionOnStart::ContinueFinish;
|
||||
if (_keepUpdating) {
|
||||
|
@ -656,8 +649,7 @@ void LauncherManager::restartNewLauncher() {
|
|||
}
|
||||
CStringW params;
|
||||
params.Format(_T(" --restart --noUpdate --continueAction %s"), getContinueActionParam(continueAction));
|
||||
LPTSTR par = params.GetBuffer();
|
||||
LauncherUtils::launchApplication(tempPath, par);
|
||||
LauncherUtils::launchApplication(_tempLauncherPath, params.GetBuffer());
|
||||
Sleep(500);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue