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