From 44da1441ea37c7c278534c2415212eba1b0f66b4 Mon Sep 17 00:00:00 2001 From: coreyneskey Date: Mon, 23 Dec 2024 10:48:51 -0500 Subject: [PATCH] Remove generate-icons.js as icons are already generated --- generate-icons.js | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 generate-icons.js diff --git a/generate-icons.js b/generate-icons.js deleted file mode 100644 index fb38c91..0000000 --- a/generate-icons.js +++ /dev/null @@ -1,18 +0,0 @@ -const sharp = require('sharp'); -const fs = require('fs'); - -// Create icons directory if it doesn't exist -if (!fs.existsSync('icons')) { - fs.mkdirSync('icons'); -} - -// Sizes we need -const sizes = [16, 48, 128]; - -// Generate each size -sizes.forEach(size => { - sharp('icon.svg') - .resize(size, size) - .toFile(`icons/icon${size}.png`) - .catch(err => console.error(`Error generating ${size}px icon:`, err)); -}); \ No newline at end of file