unoplatform / uno.resizetizer

The home for Uno.Resizetizer, an image resizting tooling for Uno Platform apps
https://platform.uno
Other
16 stars 7 forks source link

WasmPWAManifestFile is not overriden properly #303

Closed jeromelaban closed 4 months ago

jeromelaban commented 4 months ago

Current behavior

The manifest used in the index.html points to a file that does not exist:

image

image

Expected behavior

The WasmPWAManifestFile property should be overriden by resizetizer before BuildDist.

jeromelaban commented 4 months ago

Portion of the fix:

  <Target Name="_adjustJson" BeforeTargets="BuildDist">
    <PropertyGroup>
      <WasmPWAManifestFile>$(_UnoIntermediateAppIcon)/Unomanifest.webmanifest</WasmPWAManifestFile>
    </PropertyGroup>
  </Target>

Also, $(_UnoIntermediateAppIcon)/Unomanifest.webmanifest should not be set as Content, as the bootstrapper automatically copies the file at the root of the resulting dist.