Merge pull request #139 from krawieck/windows-version
This commit is contained in:
commit
79fb42785c
|
@ -16,7 +16,10 @@ class AboutTile extends HookWidget {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final packageInfoSnap = useMemoFuture(PackageInfo.fromPlatform);
|
||||
final packageInfoSnap = useMemoFuture(
|
||||
() => PackageInfo.fromPlatform()
|
||||
.then((e) => e, onError: (_, __) => PackageInfo(version: '')),
|
||||
);
|
||||
final assetBundle = DefaultAssetBundle.of(context);
|
||||
final changelogSnap =
|
||||
useMemoFuture(() => assetBundle.loadString('CHANGELOG.md'));
|
||||
|
|
|
@ -91,6 +91,7 @@ add_custom_command(
|
|||
${FLUTTER_TOOL_ENVIRONMENT}
|
||||
"${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.bat"
|
||||
windows-x64 $<CONFIG>
|
||||
VERBATIM
|
||||
)
|
||||
add_custom_target(flutter_assemble DEPENDS
|
||||
"${FLUTTER_LIBRARY}"
|
||||
|
|
|
@ -89,11 +89,11 @@ BEGIN
|
|||
BEGIN
|
||||
BLOCK "040904e4"
|
||||
BEGIN
|
||||
VALUE "CompanyName", "com.example" "\0"
|
||||
VALUE "CompanyName", "com.krawieck" "\0"
|
||||
VALUE "FileDescription", "A new Flutter project." "\0"
|
||||
VALUE "FileVersion", VERSION_AS_STRING "\0"
|
||||
VALUE "InternalName", "lemmur" "\0"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2020 com.example. All rights reserved." "\0"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2020 com.krawieck. All rights reserved." "\0"
|
||||
VALUE "OriginalFilename", "lemmur.exe" "\0"
|
||||
VALUE "ProductName", "lemmur" "\0"
|
||||
VALUE "ProductVersion", VERSION_AS_STRING "\0"
|
||||
|
|
Loading…
Reference in New Issue