Repository navigation
Commit ad265db
committed
fix: remove Sparkle XPC services so auto-update installer launches
Sparkle 2's XPC services (Downloader.xpc, Installer.xpc) exist to let
sandboxed apps perform privileged install steps out-of-process. Our app
is not sandboxed, and per Sparkle's own docs non-sandboxed apps MUST
remove the XPC services — shipping them in a non-sandboxed bundle
causes launchd to reject the XPC launch and Sparkle reports
"An error occurred while launching the installer".
Changes:
- Delete Frameworks/Sparkle.framework/Versions/B/XPCServices (and the
top-level symlink) immediately after copying the framework in both
the CI workflow and the local build.sh.
- Drop the corresponding XPC signing commands from the Sign step — the
services are no longer present to sign.
With XPCs removed, Sparkle falls back to its in-process + Autoupdate
installer path, which is the supported path for non-sandboxed apps.
Applies to v1.0.7 and later; v1.0.5 and v1.0.6 already shipped with
the broken XPC services baked into their bundles, so users on those
versions will need to download v1.0.7+ manually.1 parent 169e31d commit ad265db
2 files changed
Lines changed: 18 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
60 | 67 | | |
61 | 68 | | |
62 | 69 | | |
| |||
143 | 150 | | |
144 | 151 | | |
145 | 152 | | |
146 | | - | |
147 | | - | |
| 153 | + | |
| 154 | + | |
148 | 155 | | |
149 | 156 | | |
150 | 157 | | |
| |||
154 | 161 | | |
155 | 162 | | |
156 | 163 | | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
| 164 | + | |
170 | 165 | | |
171 | 166 | | |
172 | 167 | | |
173 | | - | |
| 168 | + | |
174 | 169 | | |
175 | 170 | | |
176 | 171 | | |
177 | | - | |
| 172 | + | |
178 | 173 | | |
179 | 174 | | |
180 | 175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
28 | 34 | | |
29 | 35 | | |
30 | 36 | | |
| |||
0 commit comments