Update tools/generate-images.js
This commit is contained in:
parent
b2155ba21b
commit
e1c49be569
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ async function generate(svg, path, {size, bg}) {
|
||||||
async function main() {
|
async function main() {
|
||||||
const gitea = argv.slice(2).includes('gitea');
|
const gitea = argv.slice(2).includes('gitea');
|
||||||
const logoSvg = await readFile(new URL('../assets/logo.svg', import.meta.url), 'utf8');
|
const logoSvg = await readFile(new URL('../assets/logo.svg', import.meta.url), 'utf8');
|
||||||
const faviconSvg = await readFile(new URL('../assets/favicon.svg', import.meta.url), 'utf8');
|
const faviconSvg = await readFile(new URL('../assets/logo.svg', import.meta.url), 'utf8');
|
||||||
|
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
generate(logoSvg, '../public/assets/img/logo.svg', {size: 32}),
|
generate(logoSvg, '../public/assets/img/logo.svg', {size: 32}),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue