feat: polish gameplay and admin flow
This commit is contained in:
@@ -119,12 +119,6 @@ async function downloadAll() {
|
||||
const slug = name.replace(/[^a-z0-9]/gi, '_').toLowerCase();
|
||||
const outPath = path.join(ICONS_DIR, slug + '.svg');
|
||||
|
||||
if (fs.existsSync(outPath)) {
|
||||
console.log(` ✓ skip ${name}`);
|
||||
ok++;
|
||||
continue;
|
||||
}
|
||||
|
||||
// Build GitHub raw URL (spaces → %20)
|
||||
const encoded = encodeURIComponent(folder) + '/' + encodeURIComponent(file + '.svg');
|
||||
const url = `${BASE_URL}/${encoded}`;
|
||||
|
||||
Reference in New Issue
Block a user