From ad0e05abcd8a34799edc0776ae6776cb729653af Mon Sep 17 00:00:00 2001 From: iishiishii Date: Thu, 12 Oct 2023 09:45:53 +1000 Subject: [PATCH] removed bh servers. fixed release in aboutdialog --- package.json | 2 +- src/main/aboutdialog/aboutdialog.ts | 4 +--- src/main/main.ts | 4 +--- .../remoteserverselectdialog/remoteserverselectdialog.ts | 3 --- src/main/sessionwindow/sessionwindow.ts | 9 --------- 5 files changed, 3 insertions(+), 19 deletions(-) diff --git a/package.json b/package.json index c85fcaf8..bc661c1b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "neurodeskapp", "jlab_version": "4.0.0-1", - "version": "1.1.1", + "version": "1.1.2", "description": "Neurodesk App", "main": "./build/out/main/main.js", "scripts": { diff --git a/src/main/aboutdialog/aboutdialog.ts b/src/main/aboutdialog/aboutdialog.ts index bc4de196..127439b4 100644 --- a/src/main/aboutdialog/aboutdialog.ts +++ b/src/main/aboutdialog/aboutdialog.ts @@ -5,10 +5,8 @@ import * as ejs from 'ejs'; import * as path from 'path'; import * as fs from 'fs'; import { ThemedWindow } from '../dialog/themedwindow'; -import { Config } from '../utils'; -const config = Config.loadConfig(path.join(__dirname, '../..')); -const release = config.ConfigToml.neurodesk_desktop_release; +const release = require(path.join(__dirname, '../..', 'package.json')).version; export class AboutDialog { constructor(options: AboutDialog.IOptions) { diff --git a/src/main/main.ts b/src/main/main.ts index 3a24fd21..750d7ba0 100644 --- a/src/main/main.ts +++ b/src/main/main.ts @@ -9,10 +9,8 @@ import { JupyterApplication } from './app'; import { ICLIArguments } from './tokens'; import { SessionConfig } from './config/sessionconfig'; import { SettingType, userSettings } from './config/settings'; -import { Config } from './utils'; -const config = Config.loadConfig(path.join(__dirname, '..')); -const release = config.ConfigToml.neurodesk_desktop_release; +const release = require(path.join(__dirname, '..', 'package.json')).version; let jupyterApp: JupyterApplication; let fileToOpenInMainInstance = ''; diff --git a/src/main/remoteserverselectdialog/remoteserverselectdialog.ts b/src/main/remoteserverselectdialog/remoteserverselectdialog.ts index f19e3b49..47bb6e82 100644 --- a/src/main/remoteserverselectdialog/remoteserverselectdialog.ts +++ b/src/main/remoteserverselectdialog/remoteserverselectdialog.ts @@ -112,9 +112,6 @@ export class RemoteServerSelectDialog { Loading... - - Remote Persistent Storage Neurodesk Servers -
diff --git a/src/main/sessionwindow/sessionwindow.ts b/src/main/sessionwindow/sessionwindow.ts index 0716cdf0..940dec12 100644 --- a/src/main/sessionwindow/sessionwindow.ts +++ b/src/main/sessionwindow/sessionwindow.ts @@ -1000,15 +1000,6 @@ export class SessionWindow implements IDisposable { ); this._remoteServerSelectDialog.setRunningServerList(runningServers); }); - - this._registry.getRunningStorageServerList().then(runningServers => { - runningServers.push('https://bhsydney.neurodesk.org/'); - runningServers.push('https://bhnam.neurodesk.org/'); - runningServers.push('https://bheurope.neurodesk.org/'); - this._remoteServerSelectDialog.setRunningStorageServerList( - runningServers - ); - }); } private async _createEnvSelectPopup() {