diff --git a/apps/player/index.html b/apps/player/index.html index 0499639..cdabd53 100644 --- a/apps/player/index.html +++ b/apps/player/index.html @@ -5,6 +5,7 @@ + TheBet365 diff --git a/packages/shared/public/favicon.svg b/packages/shared/public/favicon.svg index 3065d7f..a267220 100644 --- a/packages/shared/public/favicon.svg +++ b/packages/shared/public/favicon.svg @@ -1,3 +1 @@ - - - + \ No newline at end of file diff --git a/scripts/gen-favicon-svg.mjs b/scripts/gen-favicon-svg.mjs new file mode 100644 index 0000000..294ebe8 --- /dev/null +++ b/scripts/gen-favicon-svg.mjs @@ -0,0 +1,16 @@ +import { readFileSync, writeFileSync } from 'node:fs'; +import { resolve, dirname } from 'node:path'; +import { fileURLToPath } from 'node:url'; + +const root = resolve(dirname(fileURLToPath(import.meta.url)), '..'); +const logoPath = resolve(root, 'packages/shared/public/logo.png'); +const outPath = resolve(root, 'packages/shared/public/favicon.svg'); +const b64 = readFileSync(logoPath).toString('base64'); + +writeFileSync( + outPath, + ``, + 'utf8', +); + +console.log('Wrote', outPath);