Skip to content

Commit

Permalink
Merge pull request #201 from unoplatform/pj/fix-appxmanifest-generati…
Browse files Browse the repository at this point in the history
…on-on-skia

Fix the appxmanifest generation
  • Loading branch information
nickrandolph authored Dec 1, 2023
2 parents 6461423 + 701b3ed commit 7ad1199
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<_ResizetizerManifestPath>$(_UnoIntermediateManifest)Package.appxmanifest</_ResizetizerManifestPath>
<_ResizetizerSplashScreenPath>$(_UnoIntermediateImages)splash_screen.scale-125.png</_ResizetizerSplashScreenPath>
<_ResizetizerAppIconPath>$(_UnoIntermediateImages)iconapp.ico</_ResizetizerAppIconPath>
<_ResizetizerAppIconImagesPath>$(_UnoIntermediateImages)iconapp.png</_ResizetizerAppIconImagesPath>
<_ResizetizerAppIconImagesPath>$(_UnoIntermediateImages)Icons\iconappLogo.scale-100.png</_ResizetizerAppIconImagesPath>
</PropertyGroup>
<Message Text="Validating local assets at '$(_ResizetizerIntermediateOutputRoot)'" Importance="high" />
<Error Condition="!Exists('$(_ResizetizerManifestPath)')" Text="Manifest file wasn't created." />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<PropertyGroup>
<_ResizetizerSplashScreenPath>$(_UnoIntermediateImages)splash_screen.scale-125.png</_ResizetizerSplashScreenPath>
<_ResizetizerAppIconPath>$(_UnoIntermediateImages)iconapp.ico</_ResizetizerAppIconPath>
<_ResizetizerAppIconImagesPath>$(_UnoIntermediateImages)iconapp.png</_ResizetizerAppIconImagesPath>
<_ResizetizerAppIconImagesPath>$(_UnoIntermediateImages)Icons\iconappLogo.scale-100.png</_ResizetizerAppIconImagesPath>
</PropertyGroup>
<Message Text="Validating local assets at '$(_ResizetizerIntermediateOutputRoot)'" Importance="high" />
<Error Condition="!Exists('$(_ResizetizerSplashScreenPath)')" Text="SplashScreen file wasn't created." />
Expand Down
3 changes: 1 addition & 2 deletions src/.nuspec/Uno.Resizetizer.windows.skia.targets
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
<Target
Name="UpdatePathOfUnoIcon"
BeforeTargets="UnoResizetizeCollectItems"
DependsOnTargets="ValidateAvailableItems"
Condition="'$(_UnoResizetizerIsWindowsAppSdk)' == 'True'">
DependsOnTargets="ValidateAvailableItems">

<AssignLinkMetadata Items="@(UnoIcon)">
<Output TaskParameter="OutputItems" ItemName="_UnoIconLinked"/>
Expand Down
14 changes: 1 addition & 13 deletions src/Resizetizer/src/DpiPath.cs
Original file line number Diff line number Diff line change
Expand Up @@ -230,16 +230,6 @@ public static DpiPath[] Badge
LargeTile).ToArray();
}

public static class Wpf
{
public static DpiPath[] AppIcon
=> new[]
{
new DpiPath("", 4.0m),
};
}


public static class Wasm
{
public static DpiPath[] AppIcon => new[]
Expand Down Expand Up @@ -276,10 +266,8 @@ public static DpiPath[] GetAppIconDpis(string platform, string appIconName)
break;
case "uwp":
case "windows":
result = DpiPath.Windows.AppIcon;
break;
case "wpf":
result = DpiPath.Wpf.AppIcon;
result = DpiPath.Windows.AppIcon;
break;
case "wasm":
result = DpiPath.Wasm.AppIcon;
Expand Down

0 comments on commit 7ad1199

Please sign in to comment.