mchomem / Left4DeadAddonsDownloader

A small tool to automate content download to Left 4 Dead game.
6 stars 1 forks source link

Ignore .vdf not .vtf files #3

Closed KadabraZz closed 2 years ago

KadabraZz commented 2 years ago

As our friend Everton asked, ignore .dll and .vdf extensions, he made a mistake saying .vtf

mchomem commented 2 years ago

Hello @KadabraZz ,

This configuration to ignore file extension can make in own app.

Open the file "appsettings.json" in local folder installation and change the values in key "IgnoreAaddonsExtensionsOnDeleting" and put the value, if adding value, don't forget of put a ";" in values, see this example:

{
  "AppConfiguration": {
    "TemporaryDownloadFolder": "Temp",
    "DownloadListUrl": "https://raw.githubusercontent.com/mchomem/Left4DeadAddonsDownloader.Data/master/DataSource",
    "Left4DeadAddonsFolder": "C:\\Program Files (x86)\\Steam\\steamapps\\common\\left 4 dead\\left4dead\\addons",
    "Method": "web", /*"web" - search from web site. "file" - search on local disk, on same level from executable. */
    "FileList": "downloads.json",
    "IgnoreAaddonsExtensionsOnDeleting": "dll;vtf"
  },
  "Credential": {
    "Enabled": false, /* true = requires credentials or false = does not require credentials. */
    "User": "",
    "Password": ""
  }
}

Please, give feedback about this.