1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

* update notifications for sysinfo script (compatible)

This commit is contained in:
Reinhard Pointner 2013-10-23 05:29:03 +00:00
parent 1beb424560
commit 27e7ddc4a7

View File

@ -83,7 +83,7 @@ println String.format('%s (%s)', _system['os.name'], _system['os.arch'])
// check for updates
try {
def update = new net.sourceforge.filebot.web.CachedXmlResource(net.sourceforge.filebot.Settings.getApplicationProperty('update.url')).get().xml
def update = new XmlSlurper().parse('http://filebot.net/update.xml')
def latestRev = update.revision.text() as int
def latestApp = update.name.text()