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

This commit is contained in:
moko256 2021-11-19 03:03:04 +09:00 committed by GitHub
parent 1ba81373ee
commit 570e39d38b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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"

View File

@ -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),