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 d37316b589
commit 34a10b5ccf
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73
2 changed files with 4 additions and 2 deletions

View File

@ -270,8 +270,9 @@ jobs:
- name: Build OnionShare
run: |
sed -i "s|\.\./cli|$(pwd)/cli|g" desktop/pyproject.toml
cd desktop
poetry run pip install importlib-metadata
poetry install
poetry run python ./setup-freeze.py build
poetry run python ./setup-freeze.py bdist_mac
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":
include_msvcr = True
gui_base = "Win32GUI"
# gui_base = "Win32GUI"
gui_base = None
exec_icon = os.path.join("onionshare", "resources", "onionshare.ico")
elif platform.system() == "Darwin":