From 5d1f1121dd6ece719720ca50600ef89198372c96 Mon Sep 17 00:00:00 2001 From: Elias Steurer Date: Mon, 16 Aug 2021 15:58:45 +0200 Subject: [PATCH] Fix missing entitlements needed by mac version of steam --- ScreenPlay/entitlements.plist | 10 ++++++++++ Tools/build.py | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 ScreenPlay/entitlements.plist diff --git a/ScreenPlay/entitlements.plist b/ScreenPlay/entitlements.plist new file mode 100644 index 00000000..9c0e907d --- /dev/null +++ b/ScreenPlay/entitlements.plist @@ -0,0 +1,10 @@ + + + + + com.apple.security.cs.disable-library-validation + + com.apple.security.cs.allow-dyld-environment-variables + + + \ No newline at end of file diff --git a/Tools/build.py b/Tools/build.py index c890f5ee..f1501e0c 100644 --- a/Tools/build.py +++ b/Tools/build.py @@ -123,7 +123,7 @@ execute(deploy_command.format( executable_file_ending=executable_file_ending)) if platform == "darwin" and args.sign_build: - execute("codesign --deep -f -s \"Developer ID Application: Elias Steurer (V887LHYKRH)\" --options \"runtime\" \"ScreenPlay.app/\"") + execute("codesign --deep -f -s \"Developer ID Application: Elias Steurer (V887LHYKRH)\" --options \"runtime\" --entitlements \"../../ScreenPlay/entitlements.plist\" \"ScreenPlay.app/\"") execute("codesign --deep -f -s \"Developer ID Application: Elias Steurer (V887LHYKRH)\" --options \"runtime\" \"ScreenPlayWallpaper.app/\"") execute("codesign --deep -f -s \"Developer ID Application: Elias Steurer (V887LHYKRH)\" --options \"runtime\" \"ScreenPlayWidget.app/\"")