mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-27 17:31:36 -06:00
SDA-4159 C2 version bugfix for daily
This commit is contained in:
parent
db872a5c17
commit
624d48f2e4
@ -183,10 +183,10 @@ class VersionHandler {
|
|||||||
/* Get SFE version */
|
/* Get SFE version */
|
||||||
let urlSfeVersion: string;
|
let urlSfeVersion: string;
|
||||||
let newUrlSfeVersion: string;
|
let newUrlSfeVersion: string;
|
||||||
urlSfeVersion = mainUrl?.includes('/daily/')
|
urlSfeVersion = mainUrl?.includes('/daily')
|
||||||
? `${protocol}//${hostname}/bff-daily/daily/version.json`
|
? `${protocol}//${hostname}/bff-daily/daily/version.json`
|
||||||
: `${protocol}//${hostname}/client-bff/version.json`;
|
: `${protocol}//${hostname}/client-bff/version.json`;
|
||||||
newUrlSfeVersion = mainUrl?.includes('/daily/')
|
newUrlSfeVersion = mainUrl?.includes('/daily')
|
||||||
? `${protocol}//${hostname}/apps/client2/daily/info`
|
? `${protocol}//${hostname}/apps/client2/daily/info`
|
||||||
: `${protocol}//${hostname}/apps/client2/info`;
|
: `${protocol}//${hostname}/apps/client2/info`;
|
||||||
const sfeVersionInfo: string = mainUrl?.includes('client2')
|
const sfeVersionInfo: string = mainUrl?.includes('client2')
|
||||||
|
@ -1141,7 +1141,7 @@ export class WindowHandler {
|
|||||||
/**
|
/**
|
||||||
* Creates a about app window
|
* Creates a about app window
|
||||||
*/
|
*/
|
||||||
public createAboutAppWindow(windowName: string): void {
|
public async createAboutAppWindow(windowName: string): Promise<void> {
|
||||||
// This prevents creating multiple instances of the
|
// This prevents creating multiple instances of the
|
||||||
// about window
|
// about window
|
||||||
if (didVerifyAndRestoreWindow(this.aboutAppWindow)) {
|
if (didVerifyAndRestoreWindow(this.aboutAppWindow)) {
|
||||||
@ -1176,6 +1176,8 @@ export class WindowHandler {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
await versionHandler.getClientVersion(true, this.url);
|
||||||
|
|
||||||
if (
|
if (
|
||||||
this.mainWindow &&
|
this.mainWindow &&
|
||||||
windowExists(this.mainWindow) &&
|
windowExists(this.mainWindow) &&
|
||||||
|
Loading…
Reference in New Issue
Block a user