diff --git a/.drone.yml b/.drone.yml index 2a873a0..92c5e91 100644 --- a/.drone.yml +++ b/.drone.yml @@ -59,7 +59,8 @@ steps: - cp linux/cwtch.desktop deploy/linux - cp linux/cwtch.png deploy/linux - cp linux/libCwtch.so deploy/linux/lib/ - - cp /sdks/flutter/bin/cache/artifacts/engine/linux-x64/icudtl.dat deploy/linux + # should not be needed, should be in data/flutter_assets and work from there + #- cp /sdks/flutter/bin/cache/artifacts/engine/linux-x64/icudtl.dat deploy/linux - cp tor deploy/linux - cd deploy - mv linux cwtch @@ -230,6 +231,12 @@ steps: - mkdir deploy - move build\\windows\\runner\\Release $Env:builddir - copy windows\libCwtch.dll $Env:builddir + # flutter hasn't worked out it's packaging of required dll's so we have to resort to this manual nonsense + # https://github.com/google/flutter-desktop-embedding/issues/587 + # https://github.com/flutter/flutter/issues/53167 + - copy C:\BuildTools\VC\Redist\MSVC\14.29.30036\x64\Microsoft.VC142.CRT\vcruntime140.dll $Env:builddir + - copy C:\BuildTools\VC\Redist\MSVC\14.29.30036\x64\Microsoft.VC142.CRT\vcruntime140_1.dll $Env:builddir + - copy C:\BuildTools\VC\Redist\MSVC\14.29.30036\x64\Microsoft.VC142.CRT\msvcp140.dll $Env:builddir - powershell -command "Expand-Archive -Path tor.zip -DestinationPath $Env:builddir\Tor" - powershell -command "Compress-Archive -Path $Env:builddir -DestinationPath $Env:zip" - powershell -command "(Get-FileHash *.zip -Algorithm sha512).Hash" > $Env:sha diff --git a/README.md b/README.md index 3830e2b..da68d86 100644 --- a/README.md +++ b/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 diff --git a/assets/core/negative_heart_24px.svg b/assets/core/negative_heart_24px.svg index 6042d52..f25b904 100644 --- a/assets/core/negative_heart_24px.svg +++ b/assets/core/negative_heart_24px.svg @@ -17,10 +17,10 @@ style="enable-background:new 0 0 24 24;" xml:space="preserve" sodipodi:docname="negative_heart_24px.svg" - inkscape:export-filename="/home/sarah/AndroidStudioProjects/flutter_app/assets/core/negative_heart_512px.png" - inkscape:export-xdpi="4096" - inkscape:export-ydpi="4096" - inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)">image/svg+xml