From 666a4db21a704c2777dc3465c18a0503e1b76880 Mon Sep 17 00:00:00 2001 From: Janjaweeds Date: Fri, 19 Feb 2021 15:25:22 +0100 Subject: [PATCH] [GULP] Bump version number --- bower.json | 2 +- package.json | 2 +- src/downloadManager/DownloadManager.ts | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/bower.json b/bower.json index 6a3b166..ec41060 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "into-cps-app", "productName": "INTO-CPS APP", - "version": "4.0.2-rc", + "version": "4.0.2", "description": "User interface for the INTO-CPS Toolchain", "license": "MIT", "repository": { diff --git a/package.json b/package.json index d5f7cfd..2309b56 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "into-cps-app", "productName": "INTO-CPS APP", - "version": "4.0.2-rc", + "version": "4.0.2", "description": "User interface for the INTO-CPS Toolchain", "license": "MIT", "repository": { diff --git a/src/downloadManager/DownloadManager.ts b/src/downloadManager/DownloadManager.ts index d288401..fbe9794 100644 --- a/src/downloadManager/DownloadManager.ts +++ b/src/downloadManager/DownloadManager.ts @@ -111,7 +111,6 @@ function fetchList() { let settings = IntoCpsApp.getInstance().getSettings(); console.log(settings); var url = settings.getValue(SettingKeys.UPDATE_SITE); - if (url == null || url == undefined) { url = "https://raw.githubusercontent.com/into-cps/release-site/master/download/"; settings.setValue(SettingKeys.UPDATE_SITE, url); @@ -158,8 +157,11 @@ function fetchList() { divStatus.className = "alert alert-info"; divStatus.innerHTML = version;/// +" - "data[version]; + console.log('here: '); + console.log(data[version]); divStatus.onclick = function (e) { downloader.fetchVersion(url + data[version]).then(dataVersion => { + showVersion(version, dataVersion); }); };