From 0a69ed37dab5423308fe3586fa8056f589df0ab6 Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 15 Aug 2014 17:31:03 +0400 Subject: [PATCH] OS X signing fixed --- Telegram/PrepareMac.sh | 5 +++++ Telegram/SignMac.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Telegram/PrepareMac.sh b/Telegram/PrepareMac.sh index f8260595d..df3b18afa 100755 --- a/Telegram/PrepareMac.sh +++ b/Telegram/PrepareMac.sh @@ -16,6 +16,11 @@ if [ ! -d "./../Mac/Release/Telegram.app" ]; then exit 1 fi +if [ ! -d "./../Mac/Release/Telegram.app/Contents/_CodeSignature" ]; then + echo "Telegram signature not found!" + exit 1 +fi + if [ ! -f "./../Mac/Release/Telegram.app/Contents/Resources/Icon.icns" ]; then echo "Icon.icns not found in Resources!" exit 1 diff --git a/Telegram/SignMac.sh b/Telegram/SignMac.sh index f0bc97157..547e47940 100755 --- a/Telegram/SignMac.sh +++ b/Telegram/SignMac.sh @@ -1 +1 @@ -codesign --force --sign "Developer ID Application: John Preston" ./../Mac/Release/Telegram.app +codesign --force --deep --sign "Developer ID Application: John Preston" ./../Mac/Release/Telegram.app