Ensure snowflake, obfs4 and tor licenses are included in binary packages

This commit is contained in:
Miguel Jacq 2025-02-16 18:33:40 +11:00
parent fc4aacae7d
commit 03b02c921b
No known key found for this signature in database
GPG Key ID: 59B3F0C24135C6A9

View File

@ -35,7 +35,12 @@ with open(os.path.join("..", "cli", "onionshare_cli", "resources", "version.txt"
version = version[0:-5]
# Build
include_files = [(os.path.join("..", "LICENSE.txt"), "LICENSE.txt")]
include_files = [
(os.path.join("..", "LICENSE.txt"), "LICENSE.txt"),
(os.path.join("..", "licenses", "license-obfs4.txt"), "license-obfs4.txt"),
(os.path.join("..", "licenses", "license-snowflake.txt"), "license-snowflake.txt"),
(os.path.join("..", "licenses", "license-tor.txt"), "license-tor.txt")
]
if platform.system() == "Windows":
include_msvcr = True