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