Skip to content

Commit

Permalink
moved from command-line switches to AppSettings.json (LocalesToDownlo…
Browse files Browse the repository at this point in the history
…ad) / .wingetid-files can now contain json VersionsToIgnoreDownload - context menu in 'New Downloads'-window / ParsedVersion-column to sort by PackageVersion
  • Loading branch information
donid committed Apr 27, 2021
1 parent a4fbb45 commit c20936f
Show file tree
Hide file tree
Showing 15 changed files with 333 additions and 91 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ Microsoft is creating a new Windows Package Manager CLI (aka winget) which is ba

Clone the winget-pkgs repository to a local folder and specify that folder in WingetRepoBrowser and click on 'Search'.

**Commandline Arguments:**
**New Features in v0.1.2**

- First Arg will be used to fill 'Repo-Folder' edit
- Second Arg will be used to fill 'Installers-Folder' edit
- moved from command-line switches to AppSettings.json (that allows to configure which locales should be downloaded)
- context menu in 'New Downloads'-window allows to ignore a ParsedVersion for download (VersionsToIgnoreDownload stored .wingetid-files)
- ParsedVersion-column allows to sort by PackageVersion (using a separate column makes it easier to find problems with the sorting-implementation)

**New Feature in v0.0.2**

Expand Down
10 changes: 10 additions & 0 deletions src/WingetRepoBrowser/AppSettings.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
namespace WingetRepoBrowser
{
public class AppSettings
{
public string InstallersFolder { get; set; }
public string RepoFolder { get; set; }
public string[] LocalesToDownload { get; set; }

}
}
8 changes: 8 additions & 0 deletions src/WingetRepoBrowser/AppSettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"RepoFolder": "V:\\projects_os_git\\winget-pkgs\\manifests",
"InstallersFolder": "W:\\installers",
"LocalesToDownload": [
"en-us",
"de-de"
]
}
Loading

0 comments on commit c20936f

Please sign in to comment.