This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const glob = require('glob'); | |
const fs = require('fs-extra'); | |
const path = require('path'); | |
const rimraf = require('rimraf'); | |
const zipdir = require('zip-dir'); | |
const comicPath = process.argv[2]; | |
const comicName = comicPath.split('/').slice(-1)[0].replace(/ /g, ''); | |
const zipPath = `${comicName}Zip`; |
OlderNewer