Private GIT

Skip to content
Snippets Groups Projects
Commit 5941d0bf authored by Ruud's avatar Ruud
Browse files

Add version to update url

parent d326c1c2
No related branches found
No related tags found
No related merge requests found
from esky.util import appdir_from_executable #@UnresolvedImport from esky.util import appdir_from_executable #@UnresolvedImport
from threading import Thread from threading import Thread
from version import VERSION
from wx.lib.softwareupdate import SoftwareUpdate from wx.lib.softwareupdate import SoftwareUpdate
import os import os
import sys import sys
...@@ -165,7 +166,7 @@ class CouchPotatoApp(wx.App, SoftwareUpdate): ...@@ -165,7 +166,7 @@ class CouchPotatoApp(wx.App, SoftwareUpdate):
def OnInit(self): def OnInit(self):
# Updater # Updater
base_url = 'http://couchpota.to/updates/' base_url = 'http://couchpota.to/updates/%s/' % VERSION
self.InitUpdates(base_url, base_url + 'changelog.html', self.InitUpdates(base_url, base_url + 'changelog.html',
icon = wx.Icon('icon.png')) icon = wx.Icon('icon.png'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment