Bump version to 0.1.0

sandbox1
Anton Argirov 2015-10-28 01:06:25 +06:00
parent 9f531d1a2c
commit 652c756201
3 changed files with 8 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.module.torrent2http" name="torrent2http" version="0.0.9" provider-name="anteo">
<addon id="script.module.torrent2http" name="torrent2http" version="0.1.0" provider-name="anteo">
<requires>
<import addon="xbmc.python" version="2.14.0"/>
</requires>

View File

@ -1,3 +1,7 @@
[B]Version 0.1.0[/B]
+ Torrent2http binaries updated to 1.0.5
+ Added Android Lollipop 5/Marshmallow 6 ARM support
[B]Version 0.0.9[/B]
+ Torrent2http binaries updated to 1.0.4, LibTorrent updated to 1.0.5
+ More aggressive tracker connection

View File

@ -15,7 +15,8 @@ class Platform:
@staticmethod
def arch():
if uname()[4].startswith('arm'):
if sys.platform.lower().startswith('linux') and (uname()[4].lower().startswith('arm') or
uname()[4].lower().startswith('aarch')):
return 'arm'
elif sys.maxsize > 2**32:
return 'x64'
@ -35,4 +36,4 @@ class Platform:
return 'darwin'
else:
raise Error("Platform %s is unknown" % sys.platform, Error.UNKNOWN_PLATFORM,
platform=sys.platform)
platform=sys.platform)