diff options
author | Micah Lee <micah@micahflee.com> | 2022-01-12 19:58:40 -0800 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2022-01-12 19:58:40 -0800 |
commit | 0427572521c6b2a662ebfd1f7288dc3d293e9b95 (patch) | |
tree | 3ee72411b7b1d96fc4237c55f6c18f95b27e52dd /RELEASE.md | |
parent | 4f1e33fecc2205fd41910894cd149c46f1bb43c8 (diff) | |
download | onionshare-0427572521c6b2a662ebfd1f7288dc3d293e9b95.tar.gz onionshare-0427572521c6b2a662ebfd1f7288dc3d293e9b95.zip |
Add code signing and MSI packaging for Windows
Diffstat (limited to 'RELEASE.md')
-rw-r--r-- | RELEASE.md | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -100,15 +100,19 @@ snapcraft upload --release=stable onionshare_$VERSION_amd64.snap ## Windows -Set up the development environment described in `README.md`. And install the [Windows 10 SDK](https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk) and add `C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x86` to your path. +Set up the development environment described in desktop `README.md`. + +- To get `signtool.exe`, install the [Windows 10 SDK](https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk) and add `C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x86` to your path. +- Go to https://dotnet.microsoft.com/download/dotnet-framework and download and install .NET Framework 3.5 SP1 Runtime. I downloaded `dotnetfx35.exe`. +- Go to https://wixtoolset.org/releases/ and download and install WiX toolset. I downloaded `wix311.exe`. Add `C:\Program Files (x86)\WiX Toolset v3.11\bin` to the path. Run the Windows build script: ``` -poetry run python .\package\windows\build.py +poetry run python .\package\build-windows.py ``` -This will create `desktop/windows/OnionShare-$VERSION.msi`, signed. +This will create `desktop/dist/OnionShare-$VERSION.msi`, signed. ## macOS |