mirror of
https://github.com/shadoll/sLogos.git
synced 2025-12-20 04:27:59 +00:00
Add favicon and logo generation scripts
- Implemented `generate-favicons.js` to create various favicon formats from a single SVG file. - Created `update-data.js` to scan logo directories, generate PNG and JPG images from SVGs, and update the logos JSON data. - Added a `.gitignore` file in the `flags_gen` directory to exclude all files except the `.gitignore` itself. - Updated `logos.json` to ensure proper formatting.
This commit is contained in:
2
.github/workflows/gh-pages.yml
vendored
2
.github/workflows/gh-pages.yml
vendored
@@ -32,7 +32,7 @@ jobs:
|
||||
run: npm run build
|
||||
|
||||
- name: Generate logos.json
|
||||
run: node scripts/scanLogos.js
|
||||
run: node scripts/update-data.js
|
||||
|
||||
- name: Generate SVG variants
|
||||
run: node scripts/generate-svg-variants.js
|
||||
|
||||
Reference in New Issue
Block a user