aboutsummaryrefslogtreecommitdiff
path: root/RELEASE.md
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2023-02-08 16:11:09 -0800
committerMicah Lee <micah@micahflee.com>2023-02-08 16:11:09 -0800
commit2375e9c1298082bb80b0ee20e6677db22b93e039 (patch)
tree8014b5325fba44e5354416b151cf772bdf114bd5 /RELEASE.md
parent600780292a503194caa5d547cfce39580f26da22 (diff)
downloadonionshare-2375e9c1298082bb80b0ee20e6677db22b93e039.tar.gz
onionshare-2375e9c1298082bb80b0ee20e6677db22b93e039.zip
Update flatpak to use PySide6
Diffstat (limited to 'RELEASE.md')
-rw-r--r--RELEASE.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/RELEASE.md b/RELEASE.md
index 8703e28e..643dd671 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -69,12 +69,12 @@ cd ..
# get onionshare dependencies
cd pip
-./flatpak-pip-generator $(python3 -c 'import toml; print("\n".join(toml.loads(open("../../onionshare/desktop/pyproject.toml").read())["tool"]["poetry"]["dependencies"]))' |grep -vi onionshare_cli |grep -vi python | grep -vi pyside2 | grep -vi cx_freeze |tr "\n" " ")
+./flatpak-pip-generator $(python3 -c 'import toml; print("\n".join(toml.loads(open("../../onionshare/desktop/pyproject.toml").read())["tool"]["poetry"]["dependencies"]))' |grep -vi onionshare_cli |grep -vi python | grep -vi pyside6 | grep -vi cx_freeze |tr "\n" " ")
cd ..
# convert to yaml
./flatpak-json2yaml.py -o onionshare-cli.yml poetry/generated-poetry-sources.json
-./flatpak-json2yaml.py -o onionshare.yml pip/python3-qrcode.json
+./flatpak-json2yaml.py -o onionshare.yml pip/python3-modules.json
```
Now, merge `onionshare-cli.yml` and `onionshare.yml` into the Flatpak manifest.
@@ -127,19 +127,20 @@ From https://snapcraft.io/onionshare/releases (you must be logged in), promote t
Set up the packaging environment:
-- Install the Windows SDK from here: https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/ and add `C:\Program Files (x86)\Windows Kits\10\App Certification Kit` 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`)
- 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.
Github Actions will build the binaries. Find the Github Actions `build` workflow, switch to the summary tab, and download:
+- `build-win32`
- `build-win64`
Extract these files, change to the `desktop` folder, and run:
```
-poetry run python .\scripts\build-windows.py codesign [onionshare_win64_path]
-poetry run python .\scripts\build-windows.py package [onionshare_win64_path]
+poetry run python .\scripts\build-windows.py codesign [onionshare_win32_path] [onionshare_win64_path]
+poetry run python .\scripts\build-windows.py package [onionshare_win32_path] [onionshare_win64_path]
```
This will create: