Skip to content

Commit

Permalink
Update test app appcast and .bat files
Browse files Browse the repository at this point in the history
  • Loading branch information
Deadpikle committed Apr 17, 2020
1 parent 2ccc4cc commit 146c3d5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
1 change: 1 addition & 0 deletions TestAppFiles/GenerateHashForDemoSoftware.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
echo This file needs its paths fixed. TODO:
@echo off
if exist "../bin/Release/DSAHelper/NetSparkle.DSAHelper.exe" (
if exist "../bin/Release/DSAHelper/SampleDownloadedExecutable/NetSparkleUpdate.exe" (
Expand Down
12 changes: 8 additions & 4 deletions TestAppFiles/GenerateHashForDemoXMLUpdates.bat
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
@echo off
if exist "../bin/Release/DSAHelper/NetSparkle.DSAHelper.exe" (
"../bin/Release/DSAHelper/NetSparkle.DSAHelper.exe" /sign_update "appcast.xml" NetSparkle_DSA.priv > appcast.xml.dsa
if exist "../bin/Debug/NetSparkle.Tools.DSAHelper/netcoreapp3.0/NetSparkle.DSAHelper.exe" (
"../bin/Debug/NetSparkle.Tools.DSAHelper/netcoreapp3.0/NetSparkle.DSAHelper.exe" /sign_update "appcast.xml" NetSparkle_DSA.priv > appcast.xml.dsa
echo appcast.xml.dsa generated
) else (
if exist "../bin/Debug/DSAHelper/NetSparkle.DSAHelper.exe" (
"../bin/Debug/DSAHelper/NetSparkle.DSAHelper.exe" /sign_update "appcast.xml" NetSparkle_DSA.priv > appcast.xml.dsa
if exist "../bin/Debug/NetSparkle.Tools.DSAHelper/netcoreapp3.0/NetSparkle.DSAHelper.exe" (
"../bin/Debug/NetSparkle.Tools.DSAHelper/netcoreapp3.0/NetSparkle.DSAHelper.exe" /sign_update "appcast.xml" NetSparkle_DSA.priv > appcast.xml.dsa
echo appcast.xml.dsa generated
) else (
echo Error: cannot find NetSparkle.DSAHelper.exe
)
)
1 change: 1 addition & 0 deletions TestAppFiles/GenerateHashForReleaseNotes.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
echo This file needs its paths fixed. TODO:
@echo off
if exist "../bin/Release/DSAHelper/NetSparkle.DSAHelper.exe" (
"../bin/Release/DSAHelper/NetSparkle.DSAHelper.exe" /sign_update "2.0-release-notes.md" NetSparkle_DSA.priv > 2.0-release-notes.md.dsa
Expand Down
6 changes: 3 additions & 3 deletions TestAppFiles/appcast.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>NetSparkle Test App</title>
<link>https://deadpikle.github.io/NetSparkle/files/sample-app/appcast.xml</link>
<link>https://netsparkleupdater.github.io/NetSparkle/files/sample-app/appcast.xml</link>
<description>Most recent changes with links to updates.</description>
<language>en</language>
<item>
<title>Version 2.0 (2 bugs fixed; 3 new features)</title>
<sparkle:releaseNotesLink sparkle:dsaSignature="alwQNYk2SkgG3sTl9DvpgXIPYF1mxyK3FrSJG2Ll9/NRhenYPxRszg==">https://deadpikle.github.io/NetSparkle/files/sample-app/2.0-release-notes.md
<sparkle:releaseNotesLink>https://netsparkleupdater.github.io/NetSparkle/files/sample-app/2.0-release-notes.md
</sparkle:releaseNotesLink>
<pubDate>Thu, 27 Oct 2016 10:30:00 +0000</pubDate>
<enclosure url="https://deadpikle.github.io/NetSparkle/files/sample-app/NetSparkleUpdate.exe" sparkle:version="2.0" length="12288" type="application/octet-stream" sparkle:dsaSignature="NSG/eKz9BaTJrRDvKSwYEaOumYpPMtMYRq+vjsNlHqRGku/Ual3EoQ==" />
<enclosure url="https://netsparkleupdater.github.io/NetSparkle/files/sample-app/NetSparkleUpdate.exe" sparkle:version="2.0" length="12288" type="application/octet-stream" sparkle:dsaSignature="NSG/eKz9BaTJrRDvKSwYEaOumYpPMtMYRq+vjsNlHqRGku/Ual3EoQ==" />
</item>
</channel>
</rss>

0 comments on commit 146c3d5

Please sign in to comment.