mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 22:56:29 +00:00
fix loaderconfig check
This commit is contained in:
@@ -168,7 +168,10 @@ public partial class Login
|
|||||||
private async Task<Version> GetInstallerVer()
|
private async Task<Version> GetInstallerVer()
|
||||||
{
|
{
|
||||||
TbStatus.Text = "Checking for the newer version...";
|
TbStatus.Text = "Checking for the newer version...";
|
||||||
var installerName = await _azaionApi.GetLastInstallerName(_dirConfig?.SuiteInstallerDirectory ?? Constants.SUITE_FOLDER);
|
var installerDir = string.IsNullOrWhiteSpace(_dirConfig?.SuiteInstallerDirectory)
|
||||||
|
? Constants.SUITE_FOLDER
|
||||||
|
: _dirConfig.SuiteInstallerDirectory;
|
||||||
|
var installerName = await _azaionApi.GetLastInstallerName(installerDir);
|
||||||
var version = installerName
|
var version = installerName
|
||||||
.Replace("AzaionSuite.Iterative.", "")
|
.Replace("AzaionSuite.Iterative.", "")
|
||||||
.Replace(".exe", "");
|
.Replace(".exe", "");
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"DirectoriesConfig":
|
"DirectoriesConfig":
|
||||||
{
|
{
|
||||||
"SuiteInstallerDirectory": ""
|
"SuiteInstallerDirectory": null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user