Permalink
Browse files

[fix] - version 1.0.3 - fixed lib downloading code

  • Loading branch information...
1 parent 4614c84 commit ab1fdaaa3a8538050571b5cbfed01344cd32fab1 @Memphiz Memphiz committed Mar 22, 2012
View
2 script.xbmc.boblight/addon.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<addon id="script.xbmc.boblight" name="XBMC Boblight" version="1.0.2" provider-name="bobo1on1, Memphiz">
+<addon id="script.xbmc.boblight" name="XBMC Boblight" version="1.0.3" provider-name="bobo1on1, Memphiz">
<requires>
<import addon="xbmc.python" version="2.0"/>
</requires>
View
3 script.xbmc.boblight/changelog.txt
@@ -1,3 +1,6 @@
+1.0.3
+- fixed the lib downloading code on win32
+
1.0.2
- changed icon to something we own the copyright for
View
6 script.xbmc.boblight/resources/lib/tools.py
@@ -58,15 +58,15 @@ def tools_downloadLibBoblight():
dest = "none"
destdir = xbmc.translatePath( os.path.join( __cwd__, 'resources', 'lib') )
if xbmc.getCondVisibility('system.platform.osx'):
- url = xbmc.translatePath( os.path.join( __libbaseurl__, 'osx', __libnameosx__) ) + ".zip"
+ url = "%s/%s/%s.zip" % (__libbaseurl__, 'osx', __libnameosx__)
dest = os.path.join( destdir, __libnameosx__)
DownloaderClass(url, dest + ".zip")
elif xbmc.getCondVisibility('system.platform.ios'):
- url = xbmc.translatePath( os.path.join( __libbaseurl__, 'ios', __libnameios__) ) + ".zip"
+ url = "%s/%s/%s.zip" % (__libbaseurl__, 'ios', __libnameios__)
dest = os.path.join( destdir, __libnameios__)
DownloaderClass(url, dest + ".zip")
elif xbmc.getCondVisibility('system.platform.windows'):
- url = xbmc.translatePath( os.path.join( __libbaseurl__, 'win32', __libnamewin__) ) + ".zip"
+ url = "%s/%s/%s.zip" % (__libbaseurl__, 'win32', __libnamewin__)
dest = os.path.join( destdir, __libnamewin__)
DownloaderClass(url, dest + ".zip")
print "boblight: " + url + " -> " + dest

0 comments on commit ab1fdaa

Please sign in to comment.