Skip to content

Commit

Permalink
fix for updateversion
Browse files Browse the repository at this point in the history
  • Loading branch information
INSANITY\Inrix authored and INSANITY\Inrix committed Jun 11, 2018
1 parent 682e06f commit 97a8f1d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file modified releases/Update.zip
Binary file not shown.
1 change: 1 addition & 0 deletions releases/installers/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ function updateSettings(){
return new Promise((resolve, reject) => {
var newSettings = JSON.parse(fs.readFileSync('./update/settings.json', 'utf8'));
var settings = JSON.parse(fs.readFileSync('./settings.json', 'utf8'));
newSettings.version = updateInfo.version
if(settings.videoFolder != null) {newSettings.videoFolder = settings.videoFolder}
if(settings.maxVideos != null) {newSettings.maxVideos = settings.maxVideos}
if(settings.maxParallelDownloads != null) {newSettings.maxParallelDownloads = settings.maxParallelDownloads}
Expand Down

0 comments on commit 97a8f1d

Please sign in to comment.