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
}
91
99
for signee in \
92
100
" $resources /updater/SLVersionChecker" \
93
101
" $resources /SLPlugin.app/Contents/MacOS/SLPlugin" \
102
+ " $resources /SLPlugin.app/Contents/Frameworks/Chromium Embedded Framework.framework/Libraries" \
94
103
" $resources /SLVoice" \
95
104
" $app_path "
96
105
do
You can’t perform that action at this time.
0 commit comments