-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Akinwale Alagbe
committed
Oct 11, 2023
1 parent
21de160
commit 5d8b88e
Showing
5 changed files
with
148 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
src/WinGetUtilInterop/Manifest/V1/InstallerInstallationMetadata.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// ----------------------------------------------------------------------- | ||
// <copyright file="InstallerInstallationMetadata.cs" company="Microsoft Corporation"> | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// </copyright> | ||
// ----------------------------------------------------------------------- | ||
|
||
namespace Microsoft.WinGetUtil.Models.V1 | ||
{ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
public class InstallerInstallationMetadata | ||
{ | ||
/// <summary> | ||
/// Gets or sets the default install location. | ||
/// </summary> | ||
public string DefaultInstallLocation { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the manifest installer files. | ||
/// </summary> | ||
public List<ManifestInstallerFile> Files { get; set; } | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
src/WinGetUtilInterop/Manifest/V1/InstallerNestedInstallerFile.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace Microsoft.WinGetUtil.Models.V1 | ||
{ | ||
public class InstallerNestedInstallerFile | ||
{ | ||
/// <summary> | ||
/// Gets or sets relative file part. | ||
/// </summary> | ||
public string RelativeFilePath { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or set portable command alias. | ||
/// </summary> | ||
public string PortableCommandAlias { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
src/WinGetUtilInterop/Manifest/V1/ManifestInstallerFile.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// ----------------------------------------------------------------------- | ||
// <copyright file="ManifestInstallationMetadata.cs" company="Microsoft Corporation"> | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// </copyright> | ||
// ----------------------------------------------------------------------- | ||
|
||
namespace Microsoft.WinGetUtil.Models.V1 | ||
{ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
/// <summary> | ||
/// Represents an installer file. | ||
/// </summary> | ||
public class ManifestInstallerFile | ||
{ | ||
/// <summary> | ||
/// Gets or sets relative file path. | ||
/// </summary> | ||
public string RelativeFilePath { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets file sha256. | ||
/// </summary> | ||
public string FileSha256 { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets file type. | ||
/// </summary> | ||
public string FileType { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets invocation parameter. | ||
/// </summary> | ||
public string InvocationParameter { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets display name. | ||
/// </summary> | ||
public string DisplayName { get; set; } | ||
} | ||
} |