Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions MsBox.Avalonia/MsBox.Avalonia.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
<AvaloniaResource Include="Assets\*" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Avalonia" Version="11.3.7" />
<PackageReference Include="Avalonia" Version="11.3.11" />
<PackageReference Include="Avalonia.AvaloniaEdit" Version="11.3.0" />
<PackageReference Include="DialogHost.Avalonia" Version="0.9.3" />
<PackageReference Include="DialogHost.Avalonia" Version="0.10.4" />
<PackageReference Include="Markdown.Avalonia.Tight" Version="11.0.2" />
</ItemGroup>
<ItemGroup>
Expand Down
Binary file added ZXBSInstaller.Log/InstallerResources/zxbasic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ZXBSInstaller.Log/InstallerResources/zxbs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions ZXBSInstaller.Log/Neg/Config.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZXBSInstaller.Log.Neg
{
/// <summary>
/// Config for ZXBSInstaller
/// </summary>
public class Config
{
/// <summary>
/// URL where to download the tools list
/// </summary>
public string ToolsListURL { get; set; }
/// <summary>
/// Base path installation for tools
/// </summary>
public string BasePath { get; set; }
/// <summary>
/// Show only stable versions (no beta)
/// </summary>
public bool OnlyStableVersions { get; set; }
/// <summary>
/// Setup ZXBS config when install/update apps
/// </summary>
public bool SetZXBSConfig { get; set; }
/// <summary>
/// Local paths for external tools
/// </summary>
public List<ExternalTools_Path> ExternalTools_Paths { get; set; }
}
}
104 changes: 104 additions & 0 deletions ZXBSInstaller.Log/Neg/ExternalTool.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace ZXBSInstaller.Log.Neg
{
/// <summary>
/// External tool definition for installer and updater
/// </summary>
public class ExternalTool
{
/// <summary>
/// Internal unique identifier
/// </summary>
public string Id { get; set; }
/// <summary>
/// The tools is visible/enabled
/// </summary>
public bool Enabled { get; set; }
/// <summary>
/// Display name of the tool
/// </summary>
public string Name { get; set; }
/// <summary>
/// Author of the tool
/// </summary>
public string Author { get; set; }
/// <summary>
/// Description of the tool
/// </summary>
public string Description { get; set; }
/// <summary>
/// Operating systems supported by the tool
/// </summary>
public OperatingSystems[] SupportedOperatingSystems { get; set; }
/// <summary>
/// Site of the tool
/// </summary>
public string SiteUrl { get; set; }
/// <summary>
/// Licence type of the tool
/// </summary>
public string LicenseType { get; set; }
/// <summary>
/// Lucence URL of the tool
/// </summary>
public string LicenceUrl { get; set; }
/// <summary>
/// Url with the versions info
/// </summary>
public string VersionsUrl { get; set; }
/// <summary>
/// Local path where the tool will be installed without file name
/// </summary>
public string LocalPath { get; set; }
/// <summary>
/// Local path where the tool will be installed with file name
/// </summary>
public string FullLocalPath { get; set; }
/// <summary>
/// If this is true, the tool will be updated from ZXBSInstaller
/// </summary>
public bool DirectUpdate { get; set; }
/// <summary>
/// Order in the list
/// </summary>
public int Order { get; set; }
/// <summary>
/// Recommended
/// </summary>
public bool Recommended { get; set; }

/// <summary>
/// Versions of the tool
/// </summary>
[JsonIgnore]
public ExternalTools_Version[] Versions { get; set; }
/// <summary>
/// Version installed on local computer
/// </summary>
[JsonIgnore]
public ExternalTools_Version InstalledVersion { get; set; }
/// <summary>
/// Latest available version
/// </summary>
[JsonIgnore]
public ExternalTools_Version LatestVersion { get; set; }
/// <summary>
/// Need to update
/// </summary>
[JsonIgnore]
public bool UpdateNeeded { get; set; }

/// <summary>
/// Is selected for install
/// </summary>
[JsonIgnore]
public bool IsSelected { get; set; }

}
}
23 changes: 23 additions & 0 deletions ZXBSInstaller.Log/Neg/ExternalTools_Path.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZXBSInstaller.Log.Neg
{
/// <summary>
/// Defines the local path for external tools
/// </summary>
public class ExternalTools_Path
{
/// <summary>
/// External tool unique identifier
/// </summary>
public string Id { get; set; }
/// <summary>
/// Local path where the tool will be installed without file name
/// </summary>
public string LocalPath { get; set; }
}
}
29 changes: 29 additions & 0 deletions ZXBSInstaller.Log/Neg/ExternalTools_Version.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
namespace ZXBSInstaller.Log.Neg
{
/// <summary>
/// Download data and version info for external tool
/// </summary>
public class ExternalTools_Version
{
/// <summary>
/// Display version for this version
/// </summary>
public string Version { get; set; }
/// <summary>
/// Numer of the Beta version, 0 if not a beta
/// </summary>
public int BetaNumber { get; set; }
/// <summary>
/// Internal version number to order versions
/// </summary>
public int VersionNumber { get; set; }
/// <summary>
/// Download url for this version
/// </summary>
public string DownloadUrl { get; set; }
/// <summary>
/// Operating system for this version
/// </summary>
public OperatingSystems OperatingSystem { get; set; }
}
}
13 changes: 13 additions & 0 deletions ZXBSInstaller.Log/Neg/OperatingSystems.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
namespace ZXBSInstaller.Log.Neg
{
/// <summary>
/// Operating System of the external tools
/// </summary>
public enum OperatingSystems
{
All = 0,
Windows = 1,
Linux = 2,
MacOS = 3
}
}
Loading