Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/auriamg/macdylibbundler.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Utils.cpp')
-rw-r--r--src/Utils.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Utils.cpp b/src/Utils.cpp
index fc2b990..168f659 100644
--- a/src/Utils.cpp
+++ b/src/Utils.cpp
@@ -220,6 +220,8 @@ std::string getUserInputDirForFile(const std::string& filename)
void adhocCodeSign(const std::string& file)
{
+ if( Settings::canCodesign() == false ) return;
+
// Add ad-hoc signature for ARM (Apple Silicon) binaries
std::string signCommand = std::string("codesign --force --deep --preserve-metadata=entitlements,requirements,flags,runtime --sign - \"") + file + "\"";
if( systemp( signCommand ) != 0 )