Skip to content

Commit

Permalink
docs: Update doc to include UWP
Browse files Browse the repository at this point in the history
  • Loading branch information
morning4coffe-dev committed Dec 11, 2023
1 parent 7ad1199 commit 0648d0a
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion doc/using-uno-resizetizer.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ Icon = "@mipmap/iconapp",
> [!TIP]
> Feel free to remove the old assets related to the app icon on the `Android` project
# [**Windows**](#tab/Windows)
# [**Windows (WinUI)**](#tab/WindowsWinUI)

* Open the [`Package.appxmanifest` file](https://github.com/unoplatform/uno.resizetizer/blob/main/samples/NewTemplate/Resizetizer.Extensions.Sample.Windows/Package.appxmanifest) and look for the `Application` tag
* And remove everything that's related to the application icon (BackgroundColor, Square and Wide property inside the `uap:DefaultTile` attribute). It should look like this:
Expand All @@ -171,6 +171,29 @@ Icon = "@mipmap/iconapp",
</Applications>
```

# [**Windows (UWP)**](#tab/WindowsUWP)

* Open the [`Package.appxmanifest` file](https://github.com/unoplatform/uno.resizetizer/blob/main/samples/Legacy/Uno.Resizetizer.Sample/Uno.Resizetizer.Sample.Windows/Package.appxmanifest) and look for the `Application` tag
* And replace everything that's related to the application icon (Square and Wide property inside the `uap:DefaultTile` attribute) with `placeholder$.png` and set `BackgroundColor` to transparent. It should look like this:

```xml
<Applications>
<Application Id="App"
Executable="$targetnametoken$.exe"
EntryPoint="$targetentrypoint$">
<uap:VisualElements
DisplayName="Resizetizer.Extensions.Sample"
Description="Resizetizer.Extensions.Sample"
Square150x150Logo="$placeholder$.png"
Square44x44Logo="$placeholder$.png"
BackgroundColor="transparent">
<uap:SplashScreen Image="$placeholder$.png" />
<uap:DefaultTile/>
</uap:VisualElements>
</Application>
</Applications>
```

# [**Web Assembly (Wasm)**](#tab/Wasm)

> [!NOTE]
Expand Down

0 comments on commit 0648d0a

Please sign in to comment.