From de17c3da9959a983c6b71d06cb814292d509e3fd Mon Sep 17 00:00:00 2001 From: Bill Farmer Date: Sun, 22 Mar 2020 19:18:17 +0000 Subject: [PATCH] Update code --- Scope/swift/Info.plist | 2 +- Scope/swift/Makefile | 3 ++- Scope/swift/Scope.entitlements | 10 ++++++++++ SigGen/swift/Makefile | 2 ++ 4 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 Scope/swift/Scope.entitlements diff --git a/Scope/swift/Info.plist b/Scope/swift/Info.plist index 681f32b..bfc6461 100644 --- a/Scope/swift/Info.plist +++ b/Scope/swift/Info.plist @@ -41,7 +41,7 @@ DTXcodeBuild 9C40b LSMinimumSystemVersion - 10.9 + 10.10 NSHumanReadableCopyright Copyright © 2018 Bill Farmer. All rights reserved. NSMainNibFile diff --git a/Scope/swift/Makefile b/Scope/swift/Makefile index 1719092..0525d14 100644 --- a/Scope/swift/Makefile +++ b/Scope/swift/Makefile @@ -55,7 +55,7 @@ SFLAGS = -g -target x86_64-apple-macosx10.10 \ CFLAGS = -g -target x86_64-apple-macosx10.10 -$(APPBUNDLE): $(APPNAME) $(APPNAME).icns Icons +$(APPBUNDLE): $(APPNAME) $(APPNAME).icns $(APPNAME).entitlements Icons $(RM) -rf $(APPBUNDLE) $(MD) $(APPBUNDLE) $(MD) $(APPBUNDLECONTENTS) @@ -67,6 +67,7 @@ $(APPBUNDLE): $(APPNAME) $(APPNAME).icns Icons $(CP) $(APPNAME).icns $(APPBUNDLERESOURCES)/ $(CP) -r Icons $(APPBUNDLERESOURCES)/ $(CP) MainMenu.nib $(APPBUNDLERESOURCES)/ + $(CP) $(APPNAME).entitlements $(APPBUNDLERESOURCES)/ $(CP) $(APPNAME) $(APPBUNDLEMACOS)/ $(APPNAME): $(SOURCES) diff --git a/Scope/swift/Scope.entitlements b/Scope/swift/Scope.entitlements new file mode 100644 index 0000000..f2ef3ae --- /dev/null +++ b/Scope/swift/Scope.entitlements @@ -0,0 +1,10 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.files.user-selected.read-only + + + diff --git a/SigGen/swift/Makefile b/SigGen/swift/Makefile index aa079c6..695f3b8 100644 --- a/SigGen/swift/Makefile +++ b/SigGen/swift/Makefile @@ -65,11 +65,13 @@ $(APPBUNDLE): $(APPNAME) $(APPNAME).icns $(CP) -r Frameworks $(APPBUNDLECONTENTS)/ $(CP) $(APPNAME).icns $(APPBUNDLERESOURCES)/ $(CP) MainMenu.nib $(APPBUNDLERESOURCES)/ + $(CP) $(APPNAME).entitlements $(APPBUNDLERESOURCES)/ $(CP) $(APPNAME) $(APPBUNDLEMACOS)/ $(APPNAME): $(SOURCES) $(SWIFTC) $(SOURCES) -o $(APPNAME) $(SFLAGS) +$(AUDIO).o: $(AUDIO).m $(AUDIO).h Makefile $(APPNAME).icns: $(APPNAME).png $(RM) -rf $(APPNAME).iconset