mirror of
https://github.com/bytedream/stream-bypass.git
synced 2025-05-11 13:15:13 +02:00
Remove readme build
This commit is contained in:
parent
aa51b5d95f
commit
e64feb5130
@ -65,16 +65,6 @@ async function buildManifest() {
|
|||||||
fs.writeFileSync('src/manifest.json', JSON.stringify(manifest, null, 2))
|
fs.writeFileSync('src/manifest.json', JSON.stringify(manifest, null, 2))
|
||||||
}
|
}
|
||||||
|
|
||||||
async function buildReadme() {
|
|
||||||
let readme = fs.readFileSync('README.md')
|
|
||||||
|
|
||||||
readme = readme.toString().replace(/<ul>.*?<\/ul>/gms, '<ul>\n' + getDomains().map((domain) => {
|
|
||||||
return `\t\t<li><a href="https://${domain}">${domain.charAt(0).toUpperCase() + domain.substring(1)}</a></li>`
|
|
||||||
}).join('\n') + '\n\t</ul>')
|
|
||||||
|
|
||||||
fs.writeFileSync('README.md', readme)
|
|
||||||
}
|
|
||||||
|
|
||||||
async function buildMisc() {
|
async function buildMisc() {
|
||||||
const files = {
|
const files = {
|
||||||
'src/manifest.json': 'build/manifest.json',
|
'src/manifest.json': 'build/manifest.json',
|
||||||
@ -151,7 +141,6 @@ async function buildJs() {
|
|||||||
|
|
||||||
async function build() {
|
async function build() {
|
||||||
await buildManifest()
|
await buildManifest()
|
||||||
await buildReadme()
|
|
||||||
await buildMisc()
|
await buildMisc()
|
||||||
await buildHtml()
|
await buildHtml()
|
||||||
await buildCss()
|
await buildCss()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user