windows: .ico and app name and menu name
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
8a69ae9c1c
commit
c6c9899a78
14
README.md
14
README.md
|
@ -1,6 +1,6 @@
|
|||
# flwtch
|
||||
|
||||
A new Flutter application.
|
||||
A Flutter based Cwtch UI
|
||||
|
||||
## Getting Started
|
||||
|
||||
|
@ -8,13 +8,19 @@ click the play button in android studio
|
|||
|
||||
### Linux
|
||||
|
||||
- libCwtch-go: the result of `make linux`, `libCwtch.so` should be in the link path
|
||||
- libCwtch-go: required to be on the link path (linux/cwtch.destktop demonstrates with `env LD_LIBRARY_PATH=./lib/` on the front of the comman)
|
||||
- fetch-libcwtch-go.sh will fetch a prebuilt version
|
||||
- or compile from source from libcwtch-go with `make linux`
|
||||
- `tor` should be in the PATH
|
||||
|
||||
### Windows
|
||||
|
||||
- libCwtch-go: the result of `make windows`, `libCwtch.dll` should be placed in the source root
|
||||
- tor is bundled in `windors/Tor`
|
||||
- run `fetch-libcwtch-go.ps1` to get `libCwtch.dll` which is required to run
|
||||
- run `fetch-tor-win.ps1` to fetch Tor for windows
|
||||
|
||||
#### Issues
|
||||
|
||||
- Flutter engine has a [known bug](https://github.com/flutter/flutter/issues/75675) around the Right Shift key being sticky. We have implemented the mostly work around, but until it is fixed, right shift occasionally acts permenent. If this happens, just tap left shift and it will reset
|
||||
|
||||
## l10n
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
cmake_minimum_required(VERSION 3.15)
|
||||
project(flutter_app LANGUAGES CXX)
|
||||
project(cwtch LANGUAGES CXX)
|
||||
|
||||
set(BINARY_NAME "flutter_app")
|
||||
set(BINARY_NAME "cwtch")
|
||||
|
||||
cmake_policy(SET CMP0063 NEW)
|
||||
|
||||
|
|
|
@ -2,10 +2,11 @@
|
|||
// Generated file. Do not edit.
|
||||
//
|
||||
|
||||
// clang-format off
|
||||
|
||||
#include "generated_plugin_registrant.h"
|
||||
|
||||
#include <window_size/window_size_plugin.h>
|
||||
|
||||
void RegisterPlugins(flutter::PluginRegistry* registry) {
|
||||
WindowSizePluginRegisterWithRegistrar(
|
||||
registry->GetRegistrarForPlugin("WindowSizePlugin"));
|
||||
}
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
// Generated file. Do not edit.
|
||||
//
|
||||
|
||||
// clang-format off
|
||||
|
||||
#ifndef GENERATED_PLUGIN_REGISTRANT_
|
||||
#define GENERATED_PLUGIN_REGISTRANT_
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#
|
||||
|
||||
list(APPEND FLUTTER_PLUGIN_LIST
|
||||
window_size
|
||||
)
|
||||
|
||||
set(PLUGIN_BUNDLED_LIBRARIES)
|
||||
|
|
|
@ -89,13 +89,13 @@ BEGIN
|
|||
BEGIN
|
||||
BLOCK "040904e4"
|
||||
BEGIN
|
||||
VALUE "CompanyName", "com.example" "\0"
|
||||
VALUE "FileDescription", "A new Flutter project." "\0"
|
||||
VALUE "CompanyName", "Open Privacy Research Society" "\0"
|
||||
VALUE "FileDescription", "Cwtch Instant Messenger" "\0"
|
||||
VALUE "FileVersion", VERSION_AS_STRING "\0"
|
||||
VALUE "InternalName", "flutter_app" "\0"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2021 com.example. All rights reserved." "\0"
|
||||
VALUE "OriginalFilename", "flutter_app.exe" "\0"
|
||||
VALUE "ProductName", "flutter_app" "\0"
|
||||
VALUE "InternalName", "cwtch" "\0"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2021 Open Privacy Research Society. All rights reserved." "\0"
|
||||
VALUE "OriginalFilename", "cwtch.exe" "\0"
|
||||
VALUE "ProductName", "Cwtch" "\0"
|
||||
VALUE "ProductVersion", VERSION_AS_STRING "\0"
|
||||
END
|
||||
END
|
||||
|
|
|
@ -30,7 +30,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
|
|||
FlutterWindow window(&run_loop, project);
|
||||
Win32Window::Point origin(10, 10);
|
||||
Win32Window::Size size(1280, 720);
|
||||
if (!window.CreateAndShow(L"flutter_app", origin, size)) {
|
||||
if (!window.CreateAndShow(L"cwtch", origin, size)) {
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
window.SetQuitOnClose(true);
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 66 KiB |
Loading…
Reference in New Issue