()
| 81 | process.exit(1); |
| 82 | } else { |
| 83 | const removeLogo = () => { |
| 84 | const readmePath = path.resolve('README.md'); |
| 85 | const readmeContent = fs.readFileSync(readmePath, 'utf8'); |
| 86 | const updatedContent = readmeContent |
| 87 | .split('\n') |
| 88 | .filter(line => !line.includes('docs/Logo-light.png#gh-dark-mode-only>')) |
| 89 | .join('\n'); |
| 90 | fs.writeFileSync(readmePath, updatedContent, 'utf8'); |
| 91 | }; |
| 92 | |
| 93 | const getCores = async () => { |
| 94 | const coresJsonPath = path.resolve('data', 'cores', 'cores.json'); |