From f60137fe9d2906188e6ce723ac6a68958cd8240f Mon Sep 17 00:00:00 2001 From: Muhammad Danish Date: Wed, 23 Aug 2023 02:32:39 +0500 Subject: [PATCH] Shift fields back to installer level for re-run (#439) --- src/WingetCreateCLI/Commands/NewCommand.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/WingetCreateCLI/Commands/NewCommand.cs b/src/WingetCreateCLI/Commands/NewCommand.cs index 32dc9993..91926b80 100644 --- a/src/WingetCreateCLI/Commands/NewCommand.cs +++ b/src/WingetCreateCLI/Commands/NewCommand.cs @@ -233,6 +233,7 @@ public override async Task Execute() } } + ShiftRootFieldsToInstallerLevel(manifests.InstallerManifest); PromptManifestProperties(manifests); MergeNestedInstallerFilesIfApplicable(manifests.InstallerManifest); ShiftInstallerFieldsToRootLevel(manifests.InstallerManifest);