Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor-IX committed Sep 23, 2024
1 parent 79b9965 commit cff0933
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions scripts/build_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ PYTHONOPTIMIZE=2 pyinstaller \
--onefile \
--name="Blender Launcher" \
--add-binary="source/resources/certificates/custom.pem:files" \
--add-data="source/resources/api/blender_launcher_api.json;files" \
--add-data="source/resources/api/stable_builds_api_linux.json;files" \
--add-data="source/resources/api/blender_launcher_api.json:files" \
--add-data="source/resources/api/stable_builds_api_linux.json:files" \
--distpath="./dist/release" \
source/main.py
4 changes: 2 additions & 2 deletions scripts/build_linux_debug.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ PYTHONOPTIMIZE=2 pyinstaller \
--debug=all \
--name="Blender Launcher" \
--add-binary="source/resources/certificates/custom.pem:files" \
--add-data="source/resources/api/blender_launcher_api.json;files" \
--add-data="source/resources/api/stable_builds_api_linux.json;files" \
--add-data="source/resources/api/blender_launcher_api.json:files" \
--add-data="source/resources/api/stable_builds_api_linux.json:files" \
--distpath="./dist/debug" \
source/main.py
4 changes: 2 additions & 2 deletions scripts/build_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ PYTHONOPTIMIZE=2 pyinstaller \
--hidden-import "pynput.mouse._darwin" \
--name="Blender Launcher" \
--add-binary="source/resources/certificates/custom.pem:files" \
--add-data="source/resources/api/blender_launcher_api.json;files" \
--add-data="source/resources/api/stable_builds_api.json;files" \
--add-data="source/resources/api/blender_launcher_api.json:files" \
--add-data="source/resources/api/stable_builds_api.json:files" \
--distpath="./dist/release" \
source/main.py

Expand Down
2 changes: 1 addition & 1 deletion source/modules/connection_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(self, version: Version, proxy_type=None) -> None:
self.manager: REQUEST_MANAGER | None = None

# Basic Headers
agent = f"BlenderLauncherV2/v.{self.version!s}/{get_platform_full()}/UserID-{get_user_id()}"
agent = f"Blender-Launcher-v2/v.{self.version!s}/{get_platform_full()}/UserID-{get_user_id()}"
self._headers = {"user-agent": agent}
logger.info(f"Connection Manager Header: {agent}")
# Get custom certificates file path
Expand Down

0 comments on commit cff0933

Please sign in to comment.