Skip to content

Commit 7814c8e

Browse files
authored
Merge pull request #103 from PropGit/mac_release_2
Mac Catalina Release
2 parents d6006f2 + 4397cd2 commit 7814c8e

File tree

5 files changed

+30
-2
lines changed

5 files changed

+30
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ function scanWPorts() {
420420
// Get consistently formatted port path; If Windows, strip off possible leading port origin path for ease in comparison
421421
var portPath = ((platform === pfWin) && (port.path.indexOf(winPortOrigin) === 0)) ? port.path.slice(winPortOriginLen) : port.path;
422422
// Add only proper port types (platform specific and excluding bluetooth ports)
423-
if ((portPath.indexOf(portPattern[platform]) === 0) && (port.displayName.indexOf(' bt ') === -1 && port.displayName.indexOf('bluetooth') === -1)) {
423+
if ((portPath.indexOf(portPattern[platform]) === 0) && (port.displayName.toLowerCase().indexOf(' bt ') === -1 && port.displayName.toLowerCase().indexOf('bluetooth') === -1)) {
424424
addPort({path: port.path});
425425
}
426426
});
8.83 KB
Binary file not shown.

package/drivers/FTDIUSBSerialDriver.kext/Contents/_CodeSignature/CodeResources

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@
4848
<key>weight</key>
4949
<real>1100</real>
5050
</dict>
51+
<key>^Resources/Base\.lproj/</key>
52+
<dict>
53+
<key>weight</key>
54+
<real>1010</real>
55+
</dict>
5156
<key>^version.plist$</key>
5257
<true/>
5358
</dict>
@@ -107,6 +112,11 @@
107112
<key>weight</key>
108113
<real>1100</real>
109114
</dict>
115+
<key>^Resources/Base\.lproj/</key>
116+
<dict>
117+
<key>weight</key>
118+
<real>1010</real>
119+
</dict>
110120
<key>^[^/]+$</key>
111121
<dict>
112122
<key>nested</key>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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.device.audio-input</key>
8+
<true/>
9+
<key>com.apple.security.device.camera</key>
10+
<true/>
11+
<key>com.apple.security.personal-information.addressbook</key>
12+
<true/>
13+
<key>com.apple.security.personal-information.calendars</key>
14+
<true/>
15+
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
16+
<true/>
17+
</dict>
18+
</plist>

package/mac_app_sign_and_package.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ echo
273273
# Attempt to deeply codesign the app bundle
274274
#
275275
echo "Code signing the application bundle: ${DISTRIBUTION}${APP_BUNDLE} with identity: \"${APP_IDENTITY}\""
276-
codesign -s "$APP_IDENTITY" --deep -f -v "${DISTRIBUTION}${APP_BUNDLE}"
276+
codesign -s "$APP_IDENTITY" --deep -f -v --options runtime --timestamp --entitlements "./mac-resources/neededToRun.entitlements" "${DISTRIBUTION}${APP_BUNDLE}"
277277
if [ "$?" != "0" ]; then
278278
echo "[Error] Codesigning the application bundle failed!" 1>&2
279279
exit 1

0 commit comments

Comments
 (0)