Changeset View
Changeset View
Standalone View
Standalone View
source/ps/ModIo.cpp
Show First 20 Lines • Show All 477 Lines • ▼ Show 20 Lines | if (!VerifyDownloadedFile(error)) | ||||
break; | break; | ||||
} | } | ||||
m_DownloadProgressData.status = DownloadProgressStatus::SUCCESS; | m_DownloadProgressData.status = DownloadProgressStatus::SUCCESS; | ||||
{ | { | ||||
Paths paths(g_args); | Paths paths(g_args); | ||||
CModInstaller installer(paths.UserData() / "mods", paths.Cache()); | CModInstaller installer(paths.UserData() / "mods", paths.Cache()); | ||||
installer.Install(m_DownloadFilePath, g_ScriptRuntime, false); | installer.Install(m_DownloadFilePath, g_ScriptContext, false); | ||||
} | } | ||||
break; | break; | ||||
default: | default: | ||||
break; | break; | ||||
} | } | ||||
return true; | return true; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 361 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator