Skip to content

Commit de17c3d

Browse files
committed
Update code
1 parent ad51667 commit de17c3d

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

Scope/swift/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<key>DTXcodeBuild</key>
4242
<string>9C40b</string>
4343
<key>LSMinimumSystemVersion</key>
44-
<string>10.9</string>
44+
<string>10.10</string>
4545
<key>NSHumanReadableCopyright</key>
4646
<string>Copyright © 2018 Bill Farmer. All rights reserved.</string>
4747
<key>NSMainNibFile</key>

Scope/swift/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ SFLAGS = -g -target x86_64-apple-macosx10.10 \
5555
CFLAGS = -g -target x86_64-apple-macosx10.10
5656

5757

58-
$(APPBUNDLE): $(APPNAME) $(APPNAME).icns Icons
58+
$(APPBUNDLE): $(APPNAME) $(APPNAME).icns $(APPNAME).entitlements Icons
5959
$(RM) -rf $(APPBUNDLE)
6060
$(MD) $(APPBUNDLE)
6161
$(MD) $(APPBUNDLECONTENTS)
@@ -67,6 +67,7 @@ $(APPBUNDLE): $(APPNAME) $(APPNAME).icns Icons
6767
$(CP) $(APPNAME).icns $(APPBUNDLERESOURCES)/
6868
$(CP) -r Icons $(APPBUNDLERESOURCES)/
6969
$(CP) MainMenu.nib $(APPBUNDLERESOURCES)/
70+
$(CP) $(APPNAME).entitlements $(APPBUNDLERESOURCES)/
7071
$(CP) $(APPNAME) $(APPBUNDLEMACOS)/
7172

7273
$(APPNAME): $(SOURCES)

Scope/swift/Scope.entitlements

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>com.apple.security.app-sandbox</key>
6+
<true/>
7+
<key>com.apple.security.files.user-selected.read-only</key>
8+
<true/>
9+
</dict>
10+
</plist>

SigGen/swift/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,13 @@ $(APPBUNDLE): $(APPNAME) $(APPNAME).icns
6565
$(CP) -r Frameworks $(APPBUNDLECONTENTS)/
6666
$(CP) $(APPNAME).icns $(APPBUNDLERESOURCES)/
6767
$(CP) MainMenu.nib $(APPBUNDLERESOURCES)/
68+
$(CP) $(APPNAME).entitlements $(APPBUNDLERESOURCES)/
6869
$(CP) $(APPNAME) $(APPBUNDLEMACOS)/
6970

7071
$(APPNAME): $(SOURCES)
7172
$(SWIFTC) $(SOURCES) -o $(APPNAME) $(SFLAGS)
7273

74+
$(AUDIO).o: $(AUDIO).m $(AUDIO).h Makefile
7375

7476
$(APPNAME).icns: $(APPNAME).png
7577
$(RM) -rf $(APPNAME).iconset

0 commit comments

Comments
 (0)