Add default icon to Web exported files

This commit is contained in:
Wojtek Figat
2026-03-13 10:21:42 +01:00
parent ab6e291976
commit a8e7faec3c
2 changed files with 7 additions and 0 deletions

View File

@@ -198,6 +198,13 @@ bool WebPlatformTools::OnPostProcess(CookingData& data)
}
}
// Copy icon file
{
String dstIcon = data.OriginalOutputPath / TEXT("favicon.ico");
if (!FileSystem::FileExists(dstIcon))
FileSystem::CopyFile(dstIcon, platformDataPath / TEXT("favicon.ico"));
}
// TODO: customizable HTML templates
// Insert packaged file system with game data

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 KiB