From 901293377ec5d1301b846303c42618a295e03cff Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Wed, 23 Jun 2021 22:41:05 -0700 Subject: [PATCH] drone windows msix debug --- .drone.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 516b6d9..9200020 100644 --- a/.drone.yml +++ b/.drone.yml @@ -228,7 +228,7 @@ steps: from_secret: pfx_pass commands: - move pubspec.yaml pubspec.yaml.orig - - (Get-Content -path pubspec.yaml.orig -Raw) -replace 'pfx_pass',"$Env:pfx_pass" | Set-Content -path pubspec.yaml  + - (Get-Content -path pubspec.yaml.orig -Raw) -Replace 'pfx_pass',"$Env:pfx_pass" | Set-Content -path pubspec.yaml - flutter pub get - $Env:version += type .\VERSION - $Env:builddate += type .\BUILDDATE @@ -239,6 +239,7 @@ steps: - $Env:msix = 'cwtch-install-' + $Env:version + '.msix' - $Env:msixsha = $Env:msix + '.sha512' - $Env:releasedir = "build\\windows\\runner\\Release\\" + - echo $Env:releasedir - flutter build windows --dart-define BUILD_VER=$Env:version --dart-define BUILD_DATE=$Env:builddate - copy windows\libCwtch.dll $Env:releasedir # flutter hasn't worked out it's packaging of required dll's so we have to resort to this manual nonsense @@ -248,6 +249,7 @@ steps: - copy C:\BuildTools\VC\Redist\MSVC\14.29.30036\x64\Microsoft.VC142.CRT\vcruntime140_1.dll $Env:releasedir - copy C:\BuildTools\VC\Redist\MSVC\14.29.30036\x64\Microsoft.VC142.CRT\msvcp140.dll $Env:releasedir - powershell -command "Expand-Archive -Path tor.zip -DestinationPath $Env:releasedir\Tor" + - dir $Env:releasedir - echo $Env:pfx > codesign.pfx.b64 - certutil -decode codesign.pfx.b64 codesign.pfx - flutter pub run msix:create