Add a xml for updates and add new config function to fervor
This commit is contained in:
1 parent
021b1ce057
commit
ede3c5cb3e
3 files changed
+61
-2
No files matched your search
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<rss
|
||||
version="2.0"
|
||||
xmlns:atom="http://www.w3.org/2005/Atom"
|
||||
xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle"
|
||||
xmlns:fervor="https://github.com/pypt/fervor"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
|
||||
<channel>
|
||||
<title>Your Great App's Changelog</title>
|
||||
<link>http://pypt.github.com/fervor/Appcast.xml</link>
|
||||
<description>Most recent changes with links to updates.</description>
|
||||
<language>en</language>
|
||||
<atom:link href="http://pypt.github.com/fervor/Appcast.xml" rel="self" type="application/rss+xml" />
|
||||
|
||||
<item>
|
||||
<title>Version @PLAYUVER_VERSION@</title>
|
||||
<pubDate>Mon, 09 Jan 2006 19:20:11 +0000</pubDate>
|
||||
<guid isPermaLink="true">http://htmlpreview.github.io/?https://github.com/pixlra/playuver/blob/@GIT_BRANCH@/resources/releaseNotes.html</guid>
|
||||
|
||||
<!-- One of those (<link> is preferred by Fervor, <sparkle:releaseNotesLink> is used by Sparkle) -->
|
||||
<link>http://htmlpreview.github.io/?https://github.com/pixlra/playuver/blob/@GIT_BRANCH@/resources/releaseNotes.html</link> <!-- or -->
|
||||
<sparkle:releaseNotesLink>http://htmlpreview.github.io/?https://github.com/pixlra/playuver/blob/@GIT_BRANCH@/resources/releaseNotes.html</sparkle:releaseNotesLink>
|
||||
|
||||
<!--
|
||||
See QtGlobal's QT_OS_* constants for valid platform versions.
|
||||
-->
|
||||
|
||||
<!-- Windows version. -->
|
||||
<enclosure
|
||||
url="http://you.com/app/Your%20Great%20App%202.0%20Windows.zip"
|
||||
fervor:version="2"
|
||||
fervor:platform="Q_OS_WIN32"
|
||||
fervor:dependencies="QT5OPENCV"
|
||||
length="1656492"
|
||||
type="application/octet-stream" />
|
||||
|
||||
<!-- Linux version. -->
|
||||
<enclosure
|
||||
url="http://you.com/app/Your%20Great%20App%202.0%20Linux.zip"
|
||||
fervor:version="2"
|
||||
fervor:platform="Q_OS_LINUX"
|
||||
fervor:dependencies="QT5OPENCVFFMPEG"
|
||||
length="1618935"
|
||||
type="application/octet-stream" />
|
||||
|
||||
<enclosure
|
||||
url="http://you.com/app/Your%20Great%20App%202.0%20Linux.zip"
|
||||
fervor:version="2"
|
||||
fervor:platform="Q_OS_LINUX"
|
||||
fervor:dependencies="QT4OPENCV"
|
||||
length="1618935"
|
||||
type="application/octet-stream" />
|
||||
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
||||
+1
-1
@@ -33,7 +33,7 @@
|
||||
#define PLAYUVER_VERSION @PLAYUVER_VERSION@
|
||||
#define PLAYUVER_VERSION_STRING "@PLAYUVER_VERSION@"
|
||||
|
||||
#define DEPENDENCIES_STRING @DEPENDENCIES_STRING@
|
||||
#define DEPENDENCIES_STRING "@DEPENDENCIES_STRING@"
|
||||
|
||||
/* QT definition */
|
||||
#cmakedefine USE_QT4
|
||||
|
||||
+2
-1
@@ -50,7 +50,8 @@ int main( int argc, char *argv[] )
|
||||
w.show();
|
||||
w.parseArgs( argc, argv );
|
||||
#ifdef USE_FERVOR
|
||||
FvUpdater::sharedUpdater()->SetFeedURL("http://192.168.96.201/share/jcarreira.it.pub/plaYUVer/playuver-update.xml");
|
||||
FvUpdater::sharedUpdater()->SetFeedURL("http://192.168.96.201/share/jcarreira.it.pub/plaYUVer/PlaYUVerUpdate.xml");
|
||||
FvUpdater::sharedUpdater()->SetDependencies(DEPENDENCIES_STRING);
|
||||
#endif
|
||||
return a.exec();
|
||||
}
|
||||
Reference in new issue
Block a user