Skip to content

Commit 08d263d

Browse files
author
Juan Segura
committed
ZXBSInstaller v0.0.1-beta2
1 parent 72a5f50 commit 08d263d

16 files changed

Lines changed: 638 additions & 109 deletions
2.11 KB
Loading
2.11 KB
Loading
469 KB
Loading
15.3 KB
Loading
67.2 KB
Loading

ZXBSInstaller.Log/Neg/Config.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ public class Config
2424
/// </summary>
2525
public bool OnlyStableVersions { get; set; }
2626
/// <summary>
27+
/// Setup ZXBS config when install/update apps
28+
/// </summary>
29+
public bool SetZXBSConfig { get; set; }
30+
/// <summary>
2731
/// Local paths for external tools
2832
/// </summary>
2933
public List<ExternalTools_Path> ExternalTools_Paths { get; set; }

ZXBSInstaller.Log/Neg/ExternalTool.cs

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,45 @@ public class ExternalTool
6060
/// Local path where the tool will be installed with file name
6161
/// </summary>
6262
public string FullLocalPath { get; set; }
63+
/// <summary>
64+
/// If this is true, the tool will be updated from ZXBSInstaller
65+
/// </summary>
66+
public bool DirectUpdate { get; set; }
67+
/// <summary>
68+
/// Order in the list
69+
/// </summary>
70+
public int Order { get; set; }
71+
/// <summary>
72+
/// Recommended
73+
/// </summary>
74+
public bool Recommended { get; set; }
75+
6376
/// <summary>
6477
/// Versions of the tool
6578
/// </summary>
6679
[JsonIgnore]
6780
public ExternalTools_Version[] Versions { get; set; }
6881
/// <summary>
69-
/// If this is true, the tool will be updated from ZXBSInstaller
82+
/// Version installed on local computer
7083
/// </summary>
71-
public bool DirectUpdate { get; set; }
84+
[JsonIgnore]
85+
public ExternalTools_Version InstalledVersion { get; set; }
7286
/// <summary>
73-
/// Order in the list
87+
/// Latest available version
7488
/// </summary>
75-
public int Order { get; set; }
89+
[JsonIgnore]
90+
public ExternalTools_Version LatestVersion { get; set; }
91+
/// <summary>
92+
/// Need to update
93+
/// </summary>
94+
[JsonIgnore]
95+
public bool UpdateNeeded { get; set; }
96+
97+
/// <summary>
98+
/// Is selected for install
99+
/// </summary>
100+
[JsonIgnore]
101+
public bool IsSelected { get; set; }
102+
76103
}
77104
}

0 commit comments

Comments
 (0)