mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-13 02:20:03 -04:00
Create .nojekill file
This commit is contained in:
parent
69041349a3
commit
3f1235f68a
2 changed files with 7 additions and 1 deletions
|
@ -14,6 +14,8 @@ function main() {
|
|||
parseIndex()
|
||||
console.log('Creating root directory...')
|
||||
createRootDirectory()
|
||||
console.log('Creating .nojekill...')
|
||||
createNoJekillFile()
|
||||
console.log('Generating index.m3u...')
|
||||
generateIndex()
|
||||
console.log('Generating index.country.m3u...')
|
||||
|
@ -39,6 +41,10 @@ function createRootDirectory() {
|
|||
helper.createDir(ROOT_DIR)
|
||||
}
|
||||
|
||||
function createNoJekillFile() {
|
||||
helper.createFile(`${ROOT_DIR}/.nojekyll`)
|
||||
}
|
||||
|
||||
function parseIndex() {
|
||||
const root = helper.parsePlaylist('index.m3u')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue