1

I have a very simple problem, but did not find any solution. I wrote a flutter app for windows desktop. When I launch it, the name in the taskbar is shown as "A new Flutter project." How can I change this string? Of course I already searched all occurences of this string and renamed them to my demands, but it did not change anything:

enter image description here

As you can see from the screenshot above, I was able to change the icon of the app.

Thanks for helping.

Markus
  • 123
  • 3
  • 9

1 Answers1

6

There are two issues:

  1. VALUE "FileDescription", "A new Flutter project." in file Runner.rc file (in windows/runner folder) is not updated when description: parameter changed in pubspec.yaml file,
  2. old file description cashed in windows registry (under HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\Shell\MuiCache) and is not updated when first issue fixed manually.

As a workaround you can remove old entry from registry (named like <path to your project>\build\windows\runner\Debug\app.exe.FriendlyAppName) and file description will be updated on next launch.

Spatz
  • 18,640
  • 7
  • 62
  • 66