mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Make RELEASE Windows structure similar to macOS
This commit is contained in:
parent
3d21e17e3b
commit
05b8e59d67
1 changed files with 4 additions and 5 deletions
|
@ -265,14 +265,13 @@ Rename `Dangerzone.dmg` to `Dangerzone-$VERSION.dmg`.
|
||||||
- Install the Windows SDK from here: https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/ and add `C:\Program Files (x86)\Microsoft SDKs\ClickOnce\SignTool` to the path (you'll need it for `signtool.exe`)
|
- Install the Windows SDK from here: https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/ and add `C:\Program Files (x86)\Microsoft SDKs\ClickOnce\SignTool` to the path (you'll need it for `signtool.exe`)
|
||||||
- You'll also need the Windows codesigning certificate installed on the VM
|
- You'll also need the Windows codesigning certificate installed on the VM
|
||||||
|
|
||||||
### Build the container image
|
### Releasing and Signing
|
||||||
|
|
||||||
Instead of running `python .\install\windows\build-image.py` in the VM, run the build image script on the host (making sure to build for `linux/amd64`). Copy `share/container.tar.gz` and `share/image-id.txt` from the host into the `share` folder in the VM
|
|
||||||
|
|
||||||
### Build the Dangerzone binary and installer
|
|
||||||
|
|
||||||
- Verify and checkout the git tag for this release
|
- Verify and checkout the git tag for this release
|
||||||
- Run `poetry install`
|
- Run `poetry install`
|
||||||
|
- Copy the container image into the VM
|
||||||
|
> [!IMPORTANT]
|
||||||
|
> Instead of running `python .\install\windows\build-image.py` in the VM, run the build image script on the host (making sure to build for `linux/amd64`). Copy `share/container.tar.gz` and `share/image-id.txt` from the host into the `share` folder in the VM
|
||||||
- Run `poetry run .\install\windows\build-app.bat`
|
- Run `poetry run .\install\windows\build-app.bat`
|
||||||
- When you're done you will have `dist\Dangerzone.msi`
|
- When you're done you will have `dist\Dangerzone.msi`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue