Unverified Commit 570e39d3 authored by moko256's avatar moko256 Committed by GitHub

Win32 template: Use {{projectName}} for FileDescription instead of {{description}} (#91959)

parent 1ba81373
......@@ -90,7 +90,7 @@ BEGIN
BLOCK "040904e4"
BEGIN
VALUE "CompanyName", "{{organization}}" "\0"
VALUE "FileDescription", "{{description}}" "\0"
VALUE "FileDescription", "{{projectName}}" "\0"
VALUE "FileVersion", VERSION_AS_STRING "\0"
VALUE "InternalName", "{{projectName}}" "\0"
VALUE "LegalCopyright", "Copyright (C) {{year}} {{organization}}. All rights reserved." "\0"
......
......@@ -1022,6 +1022,7 @@ void main() {
expect(resourceFile, exists);
final String contents = resourceFile.readAsStringSync();
expect(contents, contains('"CompanyName", "com.foo.bar"'));
expect(contents, contains('"FileDescription", "flutter_project"'));
expect(contents, contains('"ProductName", "flutter_project"'));
}, overrides: <Type, Generator>{
FeatureFlags: () => TestFeatureFlags(isWindowsEnabled: true),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment