mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-27 01:11:13 -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 */
|
||||
let urlSfeVersion: string;
|
||||
let newUrlSfeVersion: string;
|
||||
urlSfeVersion = mainUrl?.includes('/daily/')
|
||||
urlSfeVersion = mainUrl?.includes('/daily')
|
||||
? `${protocol}//${hostname}/bff-daily/daily/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/info`;
|
||||
const sfeVersionInfo: string = mainUrl?.includes('client2')
|
||||
|
@ -1141,7 +1141,7 @@ export class WindowHandler {
|
||||
/**
|
||||
* Creates a about app window
|
||||
*/
|
||||
public createAboutAppWindow(windowName: string): void {
|
||||
public async createAboutAppWindow(windowName: string): Promise<void> {
|
||||
// This prevents creating multiple instances of the
|
||||
// about window
|
||||
if (didVerifyAndRestoreWindow(this.aboutAppWindow)) {
|
||||
@ -1176,6 +1176,8 @@ export class WindowHandler {
|
||||
}
|
||||
};
|
||||
|
||||
await versionHandler.getClientVersion(true, this.url);
|
||||
|
||||
if (
|
||||
this.mainWindow &&
|
||||
windowExists(this.mainWindow) &&
|
||||
|
Loading…
Reference in New Issue
Block a user