using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Install.Core.Common
{
/// <summary>
/// 在互联网中,最新版本安装包信息
/// </summary>
public class NewestInstallZipVersionInfo
{
/// <summary>
/// 安装包版本号
/// </summary>
public string InstallZipVersion { get; set; }
/// <summary>
/// 安装包路径 7z 最后肯定名字
/// </summary>
public string InstallZipUrl { get; set; }
/// <summary>
/// 安装包文件名,格式为 和美安装包_v7.0.0_20210906 这个是文件夹的名称, 应该从 InstallZipUrl 最后部分提取
/// </summary>
public string InstallZipName {
get {
if (string.IsNullOrEmpty(InstallZipUrl))
return null;
return System.IO.Path.GetFileNameWithoutExtension(InstallZipUrl);
}
}
}
}
-
潘栩锋 authoredf50f14f5