Skip to content

Commit f844e10

Browse files
committed
Add logging for missing source archive in update installer
1 parent 2c6f097 commit f844e10

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Client/loader/Install.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,11 @@ static int RunInstall()
527527
archivePath = MakeGenericPath(PathJoin(archiveDirectory, archiveFileName));
528528
}
529529

530+
if (!FileExists(archivePath))
531+
{
532+
AddReportLog(5055, SString("RunInstall: Source archive does not exist: '%s' (source: '%s')", archivePath.c_str(), sourceRoot.c_str()));
533+
}
534+
530535
const SString targetRoot = PathConform(GetMTASAPath());
531536

532537
if (!DirectoryExists(targetRoot))

0 commit comments

Comments
 (0)