This commit is contained in:
Max Ogden 2015-03-04 13:14:47 -08:00
parent 1809db5669
commit 82d6782479

View file

@ -44,7 +44,7 @@ nugget(url, {target: filename, dir: __dirname, resume: true, verbose: true}, fun
if (err) return onerror(err) if (err) return onerror(err)
fs.writeFileSync(path.join(__dirname, 'path.txt'), paths[platform]) fs.writeFileSync(path.join(__dirname, 'path.txt'), paths[platform])
fs.writeFileSync(path.join(__dirname, 'run.bat'), shebang[platform] + '"' + paths[platform] + '" ' + argv[platform]) fs.writeFileSync(path.join(__dirname, 'run.bat'), shebang[platform] + '"' + paths[platform] + '" ' + argv[platform])
extract(path.join(__dirname, name), {dir: path.join(__dirname, 'dist')}, function (err) { extract(path.join(__dirname, filename), {dir: path.join(__dirname, 'dist')}, function (err) {
if (err) return onerror(err) if (err) return onerror(err)
}) })
}) })