From db8c36f261af5377ee38ff069a991f0ee90bfb35 Mon Sep 17 00:00:00 2001 From: Matt Pannella Date: Mon, 10 Oct 2022 21:54:44 -0400 Subject: [PATCH] sigh, forgot 1 more change --- Program.cs | 2 +- models/Settings/Config.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Program.cs b/Program.cs index e7561844..ff7acfbc 100644 --- a/Program.cs +++ b/Program.cs @@ -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); } diff --git a/models/Settings/Config.cs b/models/Settings/Config.cs index 7e6bc50f..fb1dea4d 100644 --- a/models/Settings/Config.cs +++ b/models/Settings/Config.cs @@ -7,7 +7,7 @@ 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() { @@ -15,6 +15,6 @@ public Config() download_firmware = true; archive_name = "openFPGA-Files"; core_selector = true; - preserve_images = false; + preserve_platforms_folder = false; } } \ No newline at end of file