Win32 template: Use {{projectName}} for FileDescription instead of {{description}} (#91959)
This commit is contained in:
parent
1ba81373ee
commit
570e39d38b
@ -90,7 +90,7 @@ BEGIN
|
|||||||
BLOCK "040904e4"
|
BLOCK "040904e4"
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "CompanyName", "{{organization}}" "\0"
|
VALUE "CompanyName", "{{organization}}" "\0"
|
||||||
VALUE "FileDescription", "{{description}}" "\0"
|
VALUE "FileDescription", "{{projectName}}" "\0"
|
||||||
VALUE "FileVersion", VERSION_AS_STRING "\0"
|
VALUE "FileVersion", VERSION_AS_STRING "\0"
|
||||||
VALUE "InternalName", "{{projectName}}" "\0"
|
VALUE "InternalName", "{{projectName}}" "\0"
|
||||||
VALUE "LegalCopyright", "Copyright (C) {{year}} {{organization}}. All rights reserved." "\0"
|
VALUE "LegalCopyright", "Copyright (C) {{year}} {{organization}}. All rights reserved." "\0"
|
||||||
|
@ -1022,6 +1022,7 @@ void main() {
|
|||||||
expect(resourceFile, exists);
|
expect(resourceFile, exists);
|
||||||
final String contents = resourceFile.readAsStringSync();
|
final String contents = resourceFile.readAsStringSync();
|
||||||
expect(contents, contains('"CompanyName", "com.foo.bar"'));
|
expect(contents, contains('"CompanyName", "com.foo.bar"'));
|
||||||
|
expect(contents, contains('"FileDescription", "flutter_project"'));
|
||||||
expect(contents, contains('"ProductName", "flutter_project"'));
|
expect(contents, contains('"ProductName", "flutter_project"'));
|
||||||
}, overrides: <Type, Generator>{
|
}, overrides: <Type, Generator>{
|
||||||
FeatureFlags: () => TestFeatureFlags(isWindowsEnabled: true),
|
FeatureFlags: () => TestFeatureFlags(isWindowsEnabled: true),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user