Skip to content

Commit

Permalink
Merge pull request #1857 from brave/replace_chrome_branding_in_win8_w…
Browse files Browse the repository at this point in the history
…elcomepage

Replace chrome branding on win8 welcome page with brave one
  • Loading branch information
bbondy committed Oct 26, 2018
1 parent a446e59 commit 5471e8f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ const util = {
const braveComponentsDir = path.join(config.projects['brave-core'].dir, 'components')
const chromeAppDir = path.join(config.srcDir, 'chrome', 'app')
const braveAppDir = path.join(config.projects['brave-core'].dir, 'app')
const chromeBrowserResourcesDir = path.join(config.srcDir, 'chrome', 'browser', 'resources')
const braveBrowserResourcesDir = path.join(config.projects['brave-core'].dir, 'browser', 'resources')
const braveAppVectorIconsDir = path.join(config.projects['brave-core'].dir, 'vector_icons', 'chrome', 'app')

let fileMap = new Set();
Expand All @@ -106,6 +108,8 @@ const util = {
fileMap.add([path.join(braveComponentsDir, 'resources', 'default_100_percent', 'brave'), path.join(chromeComponentsDir, 'resources', 'default_100_percent', 'chromium')])
fileMap.add([path.join(braveComponentsDir, 'resources', 'default_200_percent', 'brave'), path.join(chromeComponentsDir, 'resources', 'default_200_percent', 'chromium')])
fileMap.add([path.join(braveAppVectorIconsDir, 'vector_icons', 'brave'), path.join(chromeAppDir, 'vector_icons', 'brave')])
// Copy chrome-logo-faded.png for replacing chrome logo of welcome page with brave's on Win8.
fileMap.add([path.join(braveBrowserResourcesDir, 'chrome-logo-faded.png'), path.join(chromeBrowserResourcesDir, 'chrome-logo-faded.png')])

for (const [source, output] of fileMap) {
let sourceFiles = []
Expand Down

0 comments on commit 5471e8f

Please sign in to comment.