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