Try patching the path to cli in desktop's pyproject.toml in macOS, and temporarily enable console mode in Windows for easier testing

This commit is contained in:
Micah Lee 2022-09-30 19:56:53 -07:00
parent 20b06fd683
commit da6bf1e3ca
2 changed files with 4 additions and 2 deletions

View File

@ -270,8 +270,9 @@ jobs:
- name: Build OnionShare - name: Build OnionShare
run: | run: |
sed -i "s|\.\./cli|$(pwd)/cli|g" desktop/pyproject.toml
cd desktop cd desktop
poetry run pip install importlib-metadata poetry install
poetry run python ./setup-freeze.py build poetry run python ./setup-freeze.py build
poetry run python ./setup-freeze.py bdist_mac poetry run python ./setup-freeze.py bdist_mac
poetry run python ./scripts/build-macos.py cleanup-build poetry run python ./scripts/build-macos.py cleanup-build

View File

@ -118,7 +118,8 @@ include_files = [(os.path.join("..", "LICENSE"), "LICENSE")]
if platform.system() == "Windows": if platform.system() == "Windows":
include_msvcr = True include_msvcr = True
gui_base = "Win32GUI" # gui_base = "Win32GUI"
gui_base = None
exec_icon = os.path.join("onionshare", "resources", "onionshare.ico") exec_icon = os.path.join("onionshare", "resources", "onionshare.ico")
elif platform.system() == "Darwin": elif platform.system() == "Darwin":