diff --git a/.vscode/launch.json b/.vscode/launch.json index 1f4bd1ef..6948300c 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -11,7 +11,7 @@ "preLaunchTask": "build", // If you have changed target frameworks, make sure to update the program path. "program": "${workspaceFolder}/bin/Debug/net6.0/pocket_updater.dll", - "args": [], + "args": ["-p", "/Users/mattpannella/pocket-test"], "cwd": "${workspaceFolder}", // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console "console": "integratedTerminal", diff --git a/pocket_updater.csproj b/pocket_updater.csproj index 9ea9a0d9..6f8ff437 100644 --- a/pocket_updater.csproj +++ b/pocket_updater.csproj @@ -6,7 +6,7 @@ net6.0 enable enable - 2.33.0 + 2.33.1 Keep your Analogue Pocket up to date 2023 Matt Pannella Matt Pannella diff --git a/src/Program.cs b/src/Program.cs index 430e54e8..2d646132 100644 --- a/src/Program.cs +++ b/src/Program.cs @@ -89,6 +89,9 @@ private static async Task Main(string[] args) if(o.PreservePlatformsFolder) { preservePlatformsFolder = true; } + if(o.CoreName != null && o.CoreName != "") { + coreName = o.CoreName; + } } ) .WithParsed(async o =>