mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 05:23:33 +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() {
|
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();
|
closeLog();
|
||||||
ContinueActionOnStart continueAction = ContinueActionOnStart::ContinueFinish;
|
ContinueActionOnStart continueAction = ContinueActionOnStart::ContinueFinish;
|
||||||
if (_keepUpdating) {
|
if (_keepUpdating) {
|
||||||
|
@ -656,8 +649,7 @@ void LauncherManager::restartNewLauncher() {
|
||||||
}
|
}
|
||||||
CStringW params;
|
CStringW params;
|
||||||
params.Format(_T(" --restart --noUpdate --continueAction %s"), getContinueActionParam(continueAction));
|
params.Format(_T(" --restart --noUpdate --continueAction %s"), getContinueActionParam(continueAction));
|
||||||
LPTSTR par = params.GetBuffer();
|
LauncherUtils::launchApplication(_tempLauncherPath, params.GetBuffer());
|
||||||
LauncherUtils::launchApplication(tempPath, par);
|
|
||||||
Sleep(500);
|
Sleep(500);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue