making the image not be based on a URL but on actual local image for instant loading (#10014)

This commit is contained in:
Clint Rutkas 2021-03-03 12:44:49 -08:00 committed by GitHub
parent de7f8c4a3a
commit 0446c27df1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -189,6 +189,9 @@
</AppxManifest>
</ItemGroup>
<ItemGroup>
<Content Include="..\..\..\doc\images\overview\PT hero image.png">
<Link>Assets\Modules\OOBE\PT hero image.png</Link>
</Content>
<Content Include="Assets\FluentIcons\FluentIconsColorPicker.png" />
<Content Include="Assets\FluentIcons\FluentIconsFancyZones.png" />
<Content Include="Assets\FluentIcons\FluentIconsFileExplorerPreview.png" />

View file

@ -72,7 +72,7 @@ namespace Microsoft.PowerToys.Settings.UI.OOBE.Views
Icon = "\uEF3C",
Image = "ms-appx:///Assets/Modules/ColorPicker.png",
FluentIcon = "ms-appx:///Assets/FluentIcons/FluentIconsPowerToys.png",
PreviewImageSource = "https://github.com/microsoft/PowerToys/raw/master/doc/images/overview/PT%20hero%20image.png",
PreviewImageSource = "ms-appx:///Assets/Modules/OOBE/PT%20hero%20image.png",
DescriptionLink = "https://aka.ms/PowerToysOverview",
Link = "https://github.com/microsoft/PowerToys/releases/",
});