drone windows msix debug
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
a54d50a642
commit
901293377e
|
@ -228,7 +228,7 @@ steps:
|
||||||
from_secret: pfx_pass
|
from_secret: pfx_pass
|
||||||
commands:
|
commands:
|
||||||
- move pubspec.yaml pubspec.yaml.orig
|
- 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
|
- flutter pub get
|
||||||
- $Env:version += type .\VERSION
|
- $Env:version += type .\VERSION
|
||||||
- $Env:builddate += type .\BUILDDATE
|
- $Env:builddate += type .\BUILDDATE
|
||||||
|
@ -239,6 +239,7 @@ steps:
|
||||||
- $Env:msix = 'cwtch-install-' + $Env:version + '.msix'
|
- $Env:msix = 'cwtch-install-' + $Env:version + '.msix'
|
||||||
- $Env:msixsha = $Env:msix + '.sha512'
|
- $Env:msixsha = $Env:msix + '.sha512'
|
||||||
- $Env:releasedir = "build\\windows\\runner\\Release\\"
|
- $Env:releasedir = "build\\windows\\runner\\Release\\"
|
||||||
|
- echo $Env:releasedir
|
||||||
- flutter build windows --dart-define BUILD_VER=$Env:version --dart-define BUILD_DATE=$Env:builddate
|
- flutter build windows --dart-define BUILD_VER=$Env:version --dart-define BUILD_DATE=$Env:builddate
|
||||||
- copy windows\libCwtch.dll $Env:releasedir
|
- 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
|
# 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\vcruntime140_1.dll $Env:releasedir
|
||||||
- copy C:\BuildTools\VC\Redist\MSVC\14.29.30036\x64\Microsoft.VC142.CRT\msvcp140.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"
|
- powershell -command "Expand-Archive -Path tor.zip -DestinationPath $Env:releasedir\Tor"
|
||||||
|
- dir $Env:releasedir
|
||||||
- echo $Env:pfx > codesign.pfx.b64
|
- echo $Env:pfx > codesign.pfx.b64
|
||||||
- certutil -decode codesign.pfx.b64 codesign.pfx
|
- certutil -decode codesign.pfx.b64 codesign.pfx
|
||||||
- flutter pub run msix:create
|
- flutter pub run msix:create
|
||||||
|
|
Loading…
Reference in New Issue