aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yml3
-rw-r--r--desktop/setup-freeze.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 3854e89d..3d10b743 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -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
diff --git a/desktop/setup-freeze.py b/desktop/setup-freeze.py
index 83959a2b..0357715f 100644
--- a/desktop/setup-freeze.py
+++ b/desktop/setup-freeze.py
@@ -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":