Skip to content

Commit

Permalink
Update code
Browse files Browse the repository at this point in the history
  • Loading branch information
billthefarmer committed Mar 22, 2020
1 parent ad51667 commit de17c3d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Scope/swift/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<key>DTXcodeBuild</key>
<string>9C40b</string>
<key>LSMinimumSystemVersion</key>
<string>10.9</string>
<string>10.10</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2018 Bill Farmer. All rights reserved.</string>
<key>NSMainNibFile</key>
Expand Down
3 changes: 2 additions & 1 deletion Scope/swift/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down
10 changes: 10 additions & 0 deletions Scope/swift/Scope.entitlements
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?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.app-sandbox</key>
<true/>
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
</dict>
</plist>
2 changes: 2 additions & 0 deletions SigGen/swift/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit de17c3d

Please sign in to comment.