From 3fb7dc354fe00b6cb9d5b442c3f13b514684d8dd Mon Sep 17 00:00:00 2001 From: jgw96 Date: Tue, 10 Dec 2024 12:53:30 -0800 Subject: [PATCH] fix(): temp fix for packaging as we work through backend issues --- .../src/script/services/publish/windows-publish.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apps/pwabuilder/src/script/services/publish/windows-publish.ts b/apps/pwabuilder/src/script/services/publish/windows-publish.ts index 5a7c0d5a0..51fb97f2d 100644 --- a/apps/pwabuilder/src/script/services/publish/windows-publish.ts +++ b/apps/pwabuilder/src/script/services/publish/windows-publish.ts @@ -31,6 +31,15 @@ export async function generateWindowsPackage( } } + // temp fix for packaging problem + if (!windowsOptions.enableWebAppWidgets) { + windowsOptions.enableWebAppWidgets = true; + } + + if (!windowsOptions.manifestUrl || windowsOptions.manifestUrl.length === 0) { + windowsOptions.manifestUrl = await getManifestUrl(); + } + const validationErrors = validateWindowsOptions(windowsOptions); if (validationErrors.length > 0 || !windowsOptions) { throw new Error(