Skip to content

Commit 41d8443

Browse files
committed
chore: Update README.md
1 parent 6e5e004 commit 41d8443

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README-ZH.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,13 +276,15 @@ sparkle:dsaSignature="MEUCIQCVbVzVID7H3aUzAY5znpi+ySZKznkukV8whlMFzKh66AIgREUGOm
276276
<language>en</language>
277277
<item>
278278
<title>Version 1.1.0</title>
279+
<!-- 对于 macOS 项目,建议将 'sparkle:version' 和 'sparkle:shortVersionString' 添加到项目节点中,而不是作为 'enclosure' 的一部分。 -->
280+
<sparkle:version>2</sparkle:version>
281+
<sparkle:shortVersionString>1.1.0</sparkle:shortVersionString>
279282
<sparkle:releaseNotesLink>
280283
https://your_domain/your_path/release_notes.html
281284
</sparkle:releaseNotesLink>
282285
<pubDate>Sun, 16 Feb 2022 12:00:00 +0800</pubDate>
283286
<enclosure url="1.1.0+2/auto_updater_example-1.1.0+2-macos.zip"
284287
sparkle:edSignature="pbdyPt92pnPkzLfQ7BhS9hbjcV9/ndkzSIlWjFQIUMcaCNbAFO2fzl0tISMNJApG2POTkZY0/kJQ2yZYOSVgAA=="
285-
sparkle:version="1.1.0"
286288
sparkle:os="macos"
287289
length="13400992"
288290
type="application/octet-stream" />

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,13 +276,15 @@ Add `appcast.xml` to your project `dist/` directory.
276276
<language>en</language>
277277
<item>
278278
<title>Version 1.1.0</title>
279+
<!-- For the macOS item, it is recommended to add 'sparkle:version' and 'sparkle:shortVersionString' to the item node, rather than as part of the enclosure. -->
280+
<sparkle:version>2</sparkle:version>
281+
<sparkle:shortVersionString>1.1.0</sparkle:shortVersionString>
279282
<sparkle:releaseNotesLink>
280283
https://your_domain/your_path/release_notes.html
281284
</sparkle:releaseNotesLink>
282285
<pubDate>Sun, 16 Feb 2022 12:00:00 +0800</pubDate>
283286
<enclosure url="1.1.0+2/auto_updater_example-1.1.0+2-macos.zip"
284287
sparkle:edSignature="pbdyPt92pnPkzLfQ7BhS9hbjcV9/ndkzSIlWjFQIUMcaCNbAFO2fzl0tISMNJApG2POTkZY0/kJQ2yZYOSVgAA=="
285-
sparkle:version="1.1.0"
286288
sparkle:os="macos"
287289
length="13400992"
288290
type="application/octet-stream" />

0 commit comments

Comments
 (0)