Fix calcolo AppDir x LAND
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<RootNamespace>MP.Land</RootNamespace>
|
||||
<Version>6.16.2410.1818</Version>
|
||||
<Version>6.16.2410.2111</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -153,6 +153,14 @@ namespace MP.Land.Pages
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
ListRecords = null;
|
||||
|
||||
#if DEBUG
|
||||
AppDir = new DirectoryInfo(Path.Combine("\\\\iis01.egalware.com", "c$\\inetpub\\wwwroot\\MP\\LAND"));
|
||||
#else
|
||||
AppDir = new DirectoryInfo(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location));
|
||||
#endif
|
||||
|
||||
|
||||
await Task.Delay(1);
|
||||
AppMService.ShowSearch = false;
|
||||
AppMService.PageName = "Update Manager";
|
||||
@@ -265,7 +273,6 @@ namespace MP.Land.Pages
|
||||
|
||||
#region Private Properties
|
||||
|
||||
private DirectoryInfo AppDir => new DirectoryInfo(Path.Combine("\\\\iis01.egalware.com", "c$\\inetpub\\wwwroot\\MP\\LAND"));
|
||||
|
||||
private List<AppAuth.Models.UpdMan> authList { get; set; } = new List<AppAuth.Models.UpdMan>();
|
||||
|
||||
@@ -279,10 +286,8 @@ namespace MP.Land.Pages
|
||||
/// </summary>
|
||||
private int numSteps => authList.Count + 9 + numIOB;
|
||||
|
||||
#if DEBUG
|
||||
#else
|
||||
private DirectoryInfo AppDir => new DirectoryInfo(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location));
|
||||
#endif
|
||||
private DirectoryInfo AppDir { get; set; } = new DirectoryInfo(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location));
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Nome del file ZIP da gestire
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>Modulo Tablet MAPO - DotNet6</i>
|
||||
<h4>Versione: 6.16.2410.1818</h4>
|
||||
<h4>Versione: 6.16.2410.2111</h4>
|
||||
<br />
|
||||
Note di rilascio:
|
||||
<ul>
|
||||
|
||||
@@ -1 +1 @@
|
||||
6.16.2410.1818
|
||||
6.16.2410.2111
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>6.16.2410.1818</version>
|
||||
<version>6.16.2410.2111</version>
|
||||
<url>https://nexus.steamware.net/repository/SWS/MP-LAND/stable/LAST/MP.Land.zip</url>
|
||||
<changelog>https://nexus.steamware.net/repository/SWS/MP-LAND/stable/LAST/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
Reference in New Issue
Block a user