fix: windows version (#72)

This commit is contained in:
Li Wei authored and GitHub committed 2023-02-06 21:06:56 +08:00
1 parent 1a3c8c026b
commit 027d29e834
11 files changed
+234 -62

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
FlutterWindow window(project);
Win32Window::Point origin(10, 10);
Win32Window::Size size(1280, 720);
if (!window.CreateAndShow(L"gopeed", origin, size)) {
if (!window.Create(L"gopeed", origin, size)) {
return EXIT_FAILURE;
}
window.SetQuitOnClose(true);