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

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Mak <duncan.mak@microsoft.com>2019-05-09 22:49:35 +0300
committerDuncan Mak <duncan@yomigana>2019-08-12 18:50:07 +0300
commitabb8fcca7a3e4ca23fbf26aca8dbbd19a3aaaa80 (patch)
treea8b3889497f2f19dffea1e5222d367f15ce75113 /main/build
parent7e23de991097d08f0137e69ef58db9234999ff9e (diff)
Include Entitlements.plist in the app bundle
Diffstat (limited to 'main/build')
-rw-r--r--main/build/MacOSX/Entitlements.plist8
-rw-r--r--main/build/MacOSX/Makefile.am1
-rw-r--r--main/build/MacOSX/render.cs2
3 files changed, 10 insertions, 1 deletions
diff --git a/main/build/MacOSX/Entitlements.plist b/main/build/MacOSX/Entitlements.plist
new file mode 100644
index 0000000000..d35e43ae58
--- /dev/null
+++ b/main/build/MacOSX/Entitlements.plist
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>com.apple.security.cs.allow-jit</key>
+ <true/>
+</dict>
+</plist>
diff --git a/main/build/MacOSX/Makefile.am b/main/build/MacOSX/Makefile.am
index e662ab92d5..681963df71 100644
--- a/main/build/MacOSX/Makefile.am
+++ b/main/build/MacOSX/Makefile.am
@@ -89,6 +89,7 @@ app: monostub monostub-test
cp ../../COPYING $(MAC_APP_DIR)/Contents/MacOS/share/monodevelop/COPYING.LGPL2.1
sed -e "s/@BUNDLE_VERSION@/$(BUNDLE_VERSION)/" -e "s/@APP_NAME@/$(APP_NAME)/" -e "s/@APP_DISPLAY_NAME@/$(APP_DISPLAY_NAME)/" -e "s|@RELEASE_ID@|$(PACKAGE_UPDATE_ID)|" Info.plist.in > $(MAC_APP_DIR)/Contents/Info.plist
+ cp Entitlements.plist $(MAC_APP_DIR)/Contents/Entitlements.plist
cp ../../theme-icons/Mac/*.icns $(MAC_APP_DIR)/Contents/Resources/
# Native launch scripts
diff --git a/main/build/MacOSX/render.cs b/main/build/MacOSX/render.cs
index 6c6585bf39..100cf33068 100644
--- a/main/build/MacOSX/render.cs
+++ b/main/build/MacOSX/render.cs
@@ -7,7 +7,7 @@ class X {
{
var background = new Bitmap ("dmg-bg.png");
var ctx = Graphics.FromImage (background);
-
+
//system.drawing doesn't allow setting the actual font weight
//so we can't get it as heavy as we need :/
var font = new Font ("Helvetica", 12, FontStyle.Bold);