Added progress tracking to landing page. Fixed exclusions when extracting native files, fixed minor issue with config manager, optimizations and improvements to assetguard.

This commit is contained in:
Daniel Scalzi
2017-11-27 04:31:54 -05:00
parent 5352239f91
commit dd9e1418c8
7 changed files with 223 additions and 16 deletions

View File

@@ -1,4 +1,5 @@
const fs = require('fs')
const mkpath = require('mkdirp')
const path = require('path')
const uuidV4 = require('uuid/v4')
@@ -28,6 +29,7 @@ class ConfigManager {
load(){
if(!fs.existsSync(this.path)){
mkpath.sync(path.join(this.path, '..'))
this._generateDefault()
} else {
this.config = JSON.parse(fs.readFileSync(this.path, 'UTF-8'))