mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-05 18:42:29 +01:00
Fix missing dlls
This commit is contained in:
parent
b59212d1e4
commit
4146f2fbba
@ -156,6 +156,17 @@ if platform == "darwin" and args.sign_build:
|
||||
execute("spctl --assess --verbose \"ScreenPlayWallpaper.app/\"")
|
||||
execute("spctl --assess --verbose \"ScreenPlayWidget.app/\"")
|
||||
|
||||
# Some dlls like openssl do no longer get copied automatically.
|
||||
# Lets just copy all of them into bin.
|
||||
if platform == "win32":
|
||||
vcpkg_bin_path = os.path.abspath(("{root_path}/../ScreenPlay-vcpkg/installed/x64-windows/bin").format(root_path=root_path))
|
||||
print(vcpkg_bin_path)
|
||||
for basename in os.listdir(vcpkg_bin_path):
|
||||
if basename.endswith('.dll'):
|
||||
pathname = os.path.join(vcpkg_bin_path, basename)
|
||||
print(pathname, os.getcwd())
|
||||
if os.path.isfile(pathname):
|
||||
shutil.copy2(pathname, os.getcwd())
|
||||
|
||||
file_endings = [".ninja_deps", ".ninja", ".ninja_log", ".lib", ".a", ".dylib", ".exp",
|
||||
".manifest", ".cmake", ".cbp", "CMakeCache.txt"]
|
||||
|
@ -37,7 +37,7 @@ if __name__ == "__main__":
|
||||
execute("git checkout {}".format(vcpkg_version), vcpkg_path)
|
||||
|
||||
vcpkg_packages_list = [
|
||||
"openssl-unix",
|
||||
"openssl",
|
||||
"curl",
|
||||
"sentry-native",
|
||||
"doctest",
|
||||
|
Loading…
Reference in New Issue
Block a user