Move windows and mac build scripts into scripts folder

This commit is contained in:
Micah Lee 2022-04-03 17:20:31 -07:00
parent 28655d28c8
commit 9b28a9393a
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73
4 changed files with 8 additions and 8 deletions

View File

@ -104,7 +104,7 @@ jobs:
command: | command: |
cd ~\project\desktop cd ~\project\desktop
poetry run python .\setup-freeze.py build poetry run python .\setup-freeze.py build
poetry run python .\package\windows.py cleanup-build poetry run python .\script\build-windows.py cleanup-build
- run: - run:
name: Compress name: Compress
command: | command: |
@ -201,7 +201,7 @@ jobs:
command: | command: |
cd ~/project/desktop cd ~/project/desktop
poetry run python ./setup-freeze.py bdist_mac poetry run python ./setup-freeze.py bdist_mac
poetry run python ./package/macos.py cleanup-build poetry run python ./install/build-macos.py cleanup-build
- run: - run:
name: Compress name: Compress
command: zip -r ~/onionshare-macos.zip ~/project/desktop/build/OnionShare.app command: zip -r ~/onionshare-macos.zip ~/project/desktop/build/OnionShare.app

View File

@ -110,9 +110,9 @@ Build the Windows binaries, delete extra files, codesign, and create an MSI pack
``` ```
poetry run python .\setup-freeze.py build poetry run python .\setup-freeze.py build
poetry run python .\package\windows.py cleanup-build poetry run python .\scripts\build-windows.py cleanup-build
poetry run python .\package\windows.py codesign [build_dir] poetry run python .\scripts\build-windows.py codesign [build_dir]
poetry run python .\package\windows.py package [build_dir] poetry run python .\scripts\build-windows.py package [build_dir]
``` ```
This will create `desktop/dist/OnionShare-$VERSION.msi`, signed. This will create `desktop/dist/OnionShare-$VERSION.msi`, signed.
@ -125,9 +125,9 @@ Then build an executable, make it a macOS app bundle, and package it in a dmg:
```sh ```sh
poetry run python ./setup-freeze.py bdist_mac poetry run python ./setup-freeze.py bdist_mac
poetry run python ./package/macos.py cleanup-build poetry run python ./scripts/build-macos.py cleanup-build
poetry run python ./package/macos.py codesign [app_path] poetry run python ./scripts/build-macos.py codesign [app_path]
poetry run python ./package/macos.py package [app_path] poetry run python ./scripts/build-macos.py package [app_path]
``` ```
The will create `dist/OnionShare-$VERSION.dmg`. The will create `dist/OnionShare-$VERSION.dmg`.