Add default icon to Web exported files
This commit is contained in:
@@ -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
|
||||
|
||||
BIN
Source/Platforms/Web/Binaries/favicon.ico
Normal file
BIN
Source/Platforms/Web/Binaries/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 361 KiB |
Reference in New Issue
Block a user