Skip to content

Commit

Permalink
Merge pull request #35 from mattpannella/develop
Browse files Browse the repository at this point in the history
sigh, forgot 1 more change
  • Loading branch information
mattpannella authored Oct 11, 2022
2 parents 030d015 + db8c36f commit 6b4c4d4
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 6b4c4d4

Please sign in to comment.