From 5274fec200ea37abe0b74a1cb8ddc53fc249f7aa Mon Sep 17 00:00:00 2001 From: AndreasJagiella-EH <67098649+AndreasJagiella-EH@users.noreply.github.com> Date: Mon, 4 Oct 2021 14:54:02 +0200 Subject: [PATCH] Set PublishSingleFile default back to false for NET5 compatibility --- ElectronNET.CLI/Commands/BuildCommand.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ElectronNET.CLI/Commands/BuildCommand.cs b/ElectronNET.CLI/Commands/BuildCommand.cs index d9c07465..0ca3a7b5 100644 --- a/ElectronNET.CLI/Commands/BuildCommand.cs +++ b/ElectronNET.CLI/Commands/BuildCommand.cs @@ -211,7 +211,7 @@ private Dictionary GetDotNetPublishFlags(SimpleCommandLineParser var dotNetPublishFlags = new Dictionary { {"/p:PublishReadyToRun", parser.TryGet(_paramPublishReadyToRun, out var rtr) ? rtr[0] : "true"}, - {"/p:PublishSingleFile", parser.TryGet(_paramPublishSingleFile, out var psf) ? psf[0] : "true"}, + {"/p:PublishSingleFile", parser.TryGet(_paramPublishSingleFile, out var psf) ? psf[0] : "false"}, }; if (parser.Arguments.ContainsKey(_paramVersion)) @@ -252,4 +252,4 @@ private Dictionary GetDotNetPublishFlags(SimpleCommandLineParser return dotNetPublishFlags; } } -} \ No newline at end of file +}