Skip to content

Commit

Permalink
removed bh servers. fixed release in aboutdialog
Browse files Browse the repository at this point in the history
  • Loading branch information
iishiishii committed Oct 11, 2023
1 parent 89a8ada commit ad0e05a
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 19 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
4 changes: 1 addition & 3 deletions src/main/aboutdialog/aboutdialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
4 changes: 1 addition & 3 deletions src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '';
Expand Down
3 changes: 0 additions & 3 deletions src/main/remoteserverselectdialog/remoteserverselectdialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,6 @@ export class RemoteServerSelectDialog {
<jp-menu-item class="running-server" disabled>Loading...</jp-menu-item>
</jp-menu>
<jp-menu id="storage-server-list">
<jp-menu-item class="category" id="running-storage-servers-header" disabled>Remote Persistent Storage Neurodesk Servers</jp-menu-item>
</jp-menu>
</div>
<div class="row">
<div>
Expand Down
9 changes: 0 additions & 9 deletions src/main/sessionwindow/sessionwindow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit ad0e05a

Please sign in to comment.