File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,14 @@ function signloop() {
72
72
# we pass the executable to sign as the last argument
73
73
# shellcheck disable=SC1083
74
74
eval exe=\$ {$# }
75
+
76
+ # If the file does not exist, skip signing it
77
+ # llplugin and slvoice might be not present
78
+ if [[ ! -e " $exe " ]]; then
79
+ echo " signloop: file '$exe ' does not exist, skipping." >&2
80
+ return 0
81
+ fi
82
+
75
83
exe=" $( basename " $exe " ) "
76
84
retry_loop " $exe signing" $retries $signwait /usr/bin/codesign " $@ "
77
85
}
@@ -81,6 +89,7 @@ resources="$app_path/Contents/Resources"
81
89
for signee in \
82
90
" $resources " /* .dylib \
83
91
" $resources " /llplugin/* .dylib \
92
+ " $resources /SLPlugin.app/Contents/Frameworks/Chromium Embedded Framework.framework/Libraries" /* .dylib \
84
93
" $app_path /Contents/Frameworks/Chromium Embedded Framework.framework/Libraries" /* .dylib
85
94
do
86
95
# shellcheck disable=SC2154
You can’t perform that action at this time.
0 commit comments