Skip to content

Commit c76b7d9

Browse files
committed
Version 1.1.1
Updating Abracode.framework and applet binary Adding some infra files for codesigning
1 parent 1d109e7 commit c76b7d9

7 files changed

Lines changed: 40 additions & 5 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11

22
.DS_Store
3+
Find.app/Contents/Frameworks
4+
Find.app/Contents/MacOS/OMCApplet
5+
Find.app/Contents/_CodeSignature/CodeResources

Find.app/Contents/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
</dict>
5050
</array>
5151
<key>CFBundleVersion</key>
52-
<string>1.1</string>
52+
<string>1.1.1</string>
5353
<key>LSMinimumSystemVersion</key>
5454
<string>10.13</string>
5555
<key>NSAppleEventsUsageDescription</key>

Find.app/Contents/MacOS/OMCApplet

0 Bytes
Binary file not shown.

Find.app/Contents/Resources/en.lproj/InfoPlist.strings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<plist version="1.0">
44
<dict>
55
<key>CFBundleGetInfoString</key>
6-
<string>Find version 1.0</string>
6+
<string>Find version 1.1.1</string>
77
<key>CFBundleName</key>
88
<string>Find</string>
99
<key>NSHumanReadableCopyright</key>

Find.app/Contents/_CodeSignature/CodeResources

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
<dict>
9393
<key>hash</key>
9494
<data>
95-
ToSbeulfMK6xQE3TWhWkjuPOMdE=
95+
fmdMOp4sZl/vre0rQN8HYZqy/00=
9696
</data>
9797
<key>optional</key>
9898
<true/>
@@ -108,7 +108,7 @@
108108
<dict>
109109
<key>cdhash</key>
110110
<data>
111-
hkP2utgjpw/gUzdc9TQkrJKtV5I=
111+
x4w9sHCEYC+OYURimHIJLixqoYk=
112112
</data>
113113
<key>requirement</key>
114114
<string>identifier "com.abracode.Find" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = T9NM2ZLDTY</string>
@@ -264,7 +264,7 @@
264264
<dict>
265265
<key>hash2</key>
266266
<data>
267-
08jVdNnLpdHHtWCxSiQ+3xRF1fDC8I3p7M0FIbw+Myw=
267+
WiZ0rhDWtL8+mbBfhEIGxxKiViRPDIn94A/Nc58+D7I=
268268
</data>
269269
<key>optional</key>
270270
<true/>

OMCApplet.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.automation.apple-events</key>
6+
<true/>
7+
<key>com.apple.security.cs.disable-library-validation</key>
8+
<true/>
9+
</dict>
10+
</plist>

codesign_app.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/bin/sh
2+
3+
self_dir=$(/usr/bin/dirname "$0")
4+
5+
app_to_sign="$1"
6+
if test -z "$app_to_sign"; then
7+
echo "error: a path to app must be provided"
8+
exit 1
9+
fi
10+
11+
echo ""
12+
echo "errors from install_name_tool about missing LC_RPATH are ignorable (all is as expected)"
13+
/usr/bin/install_name_tool -delete_rpath "@loader_path/../../../Frameworks" "$app_to_sign/Contents/MacOS/OMCApplet"
14+
echo ""
15+
16+
app_id=$(/usr/bin/defaults read "$app_to_sign/Contents/Info.plist" CFBundleIdentifier)
17+
if test "$?" != "0"; then
18+
echo "error: could not obtain bundle identifier for app at: $app_to_sign"
19+
exit 1
20+
fi
21+
22+
/usr/bin/codesign --deep --verbose --force --options runtime --entitlements "$self_dir/OMCApplet.entitlements" --timestamp --identifier "$app_id" --sign "T9NM2ZLDTY" "$app_to_sign"

0 commit comments

Comments
 (0)