Skip to content

Commit

Permalink
sigh, forgot 1 more change
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpannella committed Oct 11, 2022
1 parent 651f031 commit db8c36f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ private static async Task Main(string[] args)
RunCoreSelector(settings, cores);
}

if(preservePlatformsFolder || settings.GetConfig().preserve_images) {
if(preservePlatformsFolder || settings.GetConfig().preserve_platforms_folder) {
updater.PreservePlatformsFolder(true);
}

Expand Down
4 changes: 2 additions & 2 deletions models/Settings/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ public class Config
public string? github_token { get; set; }
public bool download_firmware { get; set; }
public bool core_selector { get; set; }
public bool preserve_images { get; set; }
public bool preserve_platforms_folder { get; set; }

public Config()
{
download_assets = true;
download_firmware = true;
archive_name = "openFPGA-Files";
core_selector = true;
preserve_images = false;
preserve_platforms_folder = false;
}
}

0 comments on commit db8c36f

Please sign in to comment.