drone windows msix debug
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Dan Ballard 2021-06-23 22:41:05 -07:00
parent a54d50a642
commit 901293377e
1 changed files with 3 additions and 1 deletions

View File

@ -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