mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-06 08:30:29 +00:00
fix: unify platform window titles as Gopeed
This commit is contained in:
1 parent
481675107f
commit
7c3d7269fe
7 files changed
+13
-12
No files matched your search
@@ -56,7 +56,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
|
||||
flutter::DartProject project(L"data");
|
||||
std::vector<std::string> command_line_arguments = GetCommandLineArguments();
|
||||
if (!IsMultiWindowLaunch(command_line_arguments) &&
|
||||
SendAppLinkToInstance(L"gopeed")) {
|
||||
SendAppLinkToInstance(L"Gopeed")) {
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
@@ -71,7 +71,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.Create(L"gopeed", origin, size)) {
|
||||
if (!window.Create(L"Gopeed", origin, size)) {
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
window.SetQuitOnClose(true);
|
||||
|
||||
Reference in new issue
Block a user