update windows application info

This commit is contained in:
niuhuan 2021-11-19 17:07:37 +08:00
parent 1e7b0df0df
commit 7bb735e736
3 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.15) cmake_minimum_required(VERSION 3.15)
project(pikapi LANGUAGES CXX) project(pikapika LANGUAGES CXX)
set(BINARY_NAME "pikapika") set(BINARY_NAME "pikapika")

View File

@ -92,10 +92,10 @@ BEGIN
VALUE "CompanyName", "com.example" "\0" VALUE "CompanyName", "com.example" "\0"
VALUE "FileDescription", "A new Flutter project." "\0" VALUE "FileDescription", "A new Flutter project." "\0"
VALUE "FileVersion", VERSION_AS_STRING "\0" VALUE "FileVersion", VERSION_AS_STRING "\0"
VALUE "InternalName", "pikapi" "\0" VALUE "InternalName", "pikapika" "\0"
VALUE "LegalCopyright", "Copyright (C) 2021 com.example. All rights reserved." "\0" VALUE "LegalCopyright", "Copyright (C) 2021 com.example. All rights reserved." "\0"
VALUE "OriginalFilename", "pikapi.exe" "\0" VALUE "OriginalFilename", "pikapika.exe" "\0"
VALUE "ProductName", "pikapi" "\0" VALUE "ProductName", "pikapika" "\0"
VALUE "ProductVersion", VERSION_AS_STRING "\0" VALUE "ProductVersion", VERSION_AS_STRING "\0"
END END
END END

View File

@ -30,7 +30,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
FlutterWindow window(&run_loop, project); FlutterWindow window(&run_loop, project);
Win32Window::Point origin(10, 10); Win32Window::Point origin(10, 10);
Win32Window::Size size(1280, 720); Win32Window::Size size(1280, 720);
if (!window.CreateAndShow(L"pikapi", origin, size)) { if (!window.CreateAndShow(L"pikapika", origin, size)) {
return EXIT_FAILURE; return EXIT_FAILURE;
} }
window.SetQuitOnClose(true); window.SetQuitOnClose(true);