Skip to content

Commit b38f4b2

Browse files
committed
Add required sparkle:installationType to response Sparkle enclosure
Signed-off-by: Claudio Cambra <[email protected]>
1 parent a1c088c commit b38f4b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ private function buildSparkleResponse(array $updateVersion) : string {
223223
<item>
224224
<title>'.$versionString.'</title>
225225
<pubDate>'.$this->getCurrentTimeStamp().'</pubDate>
226-
<enclosure url="'.$sparkleUrl.'" sparkle:version="'.$updateVersion['version'].'" type="application/octet-stream" sparkle:edSignature="'.$sparkleSignature.'" length="'.$sparkleLength.'"/>
226+
<enclosure url="'.$sparkleUrl.'" sparkle:version="'.$updateVersion['version'].'" type="application/octet-stream" sparkle:installationType="package" sparkle:edSignature="'.$sparkleSignature.'" length="'.$sparkleLength.'"/>
227227
<sparkle:minimumSystemVersion>11.0</sparkle:minimumSystemVersion>
228228
</item>' : '';
229229

0 commit comments

Comments
 (0)