diff --git a/build/commands/lib/util.js b/build/commands/lib/util.js index c65ae2d01304..67d26301f1aa 100755 --- a/build/commands/lib/util.js +++ b/build/commands/lib/util.js @@ -269,6 +269,11 @@ const util = { // Replace webui CSS to use our fonts. fileMap.add([path.join(config.braveCoreDir, 'ui', 'webui', 'resources', 'css', 'text_defaults_md.css'), path.join(config.srcDir, 'ui', 'webui', 'resources', 'css', 'text_defaults_md.css')]) + // Replace Dino game icons. + fileMap.add([path.join(braveComponentsDir, 'neterror', 'resources', 'images', 'default_100_percent', 'offline', '100-offline-sprite.png'), + path.join(config.srcDir, 'components', 'neterror', 'resources', 'images', 'default_100_percent', 'offline', '100-offline-sprite.png')]) + fileMap.add([path.join(braveComponentsDir, 'neterror', 'resources', 'images', 'default_200_percent', 'offline', '200-offline-sprite.png'), + path.join(config.srcDir, 'components', 'neterror', 'resources', 'images', 'default_200_percent', 'offline', '200-offline-sprite.png')]) for (const [source, output] of fileMap) { if (!fs.existsSync(source)) { diff --git a/components/neterror/resources/images/default_100_percent/offline/100-offline-sprite.png b/components/neterror/resources/images/default_100_percent/offline/100-offline-sprite.png new file mode 100644 index 000000000000..30185e82bd04 Binary files /dev/null and b/components/neterror/resources/images/default_100_percent/offline/100-offline-sprite.png differ diff --git a/components/neterror/resources/images/default_200_percent/offline/200-offline-sprite.png b/components/neterror/resources/images/default_200_percent/offline/200-offline-sprite.png new file mode 100644 index 000000000000..ed5526b7e545 Binary files /dev/null and b/components/neterror/resources/images/default_200_percent/offline/200-offline-sprite.png differ