Skip to content

Commit

Permalink
Merge pull request #276 from unoplatform/dev/mazi/resizetizer-windows…
Browse files Browse the repository at this point in the history
…-icon-cache

docs: Add troubleshooting for WinUI
  • Loading branch information
agneszitte authored May 23, 2024
2 parents b671155 + 5947106 commit d565936
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion doc/using-uno-resizetizer.md
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ Next, some adjustments are needed on `Android`, `Windows`, and `iOS`.
> [!NOTE]
> The `uno_splash_image` and `uno_splash_color` are generated by the build process.

# [**Windows**](#tab/Windows)
# [**Windows (WinUI)**](#tab/Windows)

* 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` node, inside it, look for the `uap:SplashScreen` node. Delete the `Image` property and its value, the `Application` tag should be like this:

Expand Down Expand Up @@ -437,3 +437,15 @@ Choosing between direct SVG usage and PNG conversion with Uno.Resizetizer depend
## Sample App Example

A sample app is available [here](https://github.com/unoplatform/uno.resizetizer/tree/main/samples/NewTemplate) as an example for all the previous steps detailed above.

## Troubleshooting

### Windows (WinUI)

In some cases, the OS caches the app icon and your changes might not be applied. To fix this issue, first uninstall your app and then use one of the following options:

1. In the run dialog (Win + R) execute `ie4uinit.exe -ClearIconCache`
2. Restart `explorer.exe` process (in **Task Manager - Details** select `explorer.exe` in the list and click on **Restart task**).
3. Reboot your PC

Afterward, try to deploy the app again and your icons should be updated correctly.

0 comments on commit d565936

Please sign in to comment.