SDA-3589 Server url + Yml file update bugfix (#1465)

This commit is contained in:
Salah Benmoussati 2022-08-02 13:57:47 +02:00 committed by GitHub
parent 60ea3bafc8
commit 2a9db02daa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ IF %errorlevel% neq 0 (
exit /b -1
)
node ..\..\scripts\windws_update_checksum.js "..\..\dist\Symphony-%SYMVER%-win.exe" "..\..\dist\latest.yml"
node ..\..\scripts\windows_update_checksum.js "..\..\dist\Symphony-%SYMVER%-win.exe" "..\..\dist\latest.yml"
echo "Building new installer with Wix Sharp"
call "BuildWixSharpInstaller.bat"

View File

@ -154,7 +154,7 @@ export class AutoUpdate {
const url = userConfigURL ? userConfigURL : globalConfigURL;
const { subdomain, domain, tld } = whitelistHandler.parseDomain(url);
const updateUrl = `https://${subdomain}.${domain}.${tld}/${DEFAULT_AUTO_UPDATE_CHANNEL}`;
const updateUrl = `https://${subdomain}.${domain}${tld}/${DEFAULT_AUTO_UPDATE_CHANNEL}`;
logger.info(`auto-update-handler: using generic pod url`, updateUrl);
return updateUrl;