Skip to content

Commit e849ace

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

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
@@ -215,7 +215,7 @@ private function buildSparkleResponse(array $updateVersion) : string {
215215
<item>
216216
<title>'.$versionString.'</title>
217217
<pubDate>'.$this->getCurrentTimeStamp().'</pubDate>
218-
<enclosure url="'.$sparkleUrl.'" sparkle:version="'.$updateVersion['version'].'" type="application/octet-stream" sparkle:edSignature="'.$sparkleSignature.'" length="'.$sparkleLength.'"/>
218+
<enclosure url="'.$sparkleUrl.'" sparkle:version="'.$updateVersion['version'].'" type="application/octet-stream" sparkle:installationType="package" sparkle:edSignature="'.$sparkleSignature.'" length="'.$sparkleLength.'"/>
219219
<sparkle:minimumSystemVersion>11.0</sparkle:minimumSystemVersion>
220220
</item>' : '';
221221

0 commit comments

Comments
 (0)