From 652c75620174bd6252840b4cd67fd3341497eb28 Mon Sep 17 00:00:00 2001 From: Anton Argirov Date: Wed, 28 Oct 2015 01:06:25 +0600 Subject: [PATCH] Bump version to 0.1.0 --- addon.xml | 2 +- changelog.txt | 4 ++++ lib/torrent2http/platform.py | 5 +++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/addon.xml b/addon.xml index a9560ac..e7ee038 100644 --- a/addon.xml +++ b/addon.xml @@ -1,5 +1,5 @@ - + diff --git a/changelog.txt b/changelog.txt index 33c6db9..750f5f9 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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 diff --git a/lib/torrent2http/platform.py b/lib/torrent2http/platform.py index dbedd2b..60498a0 100644 --- a/lib/torrent2http/platform.py +++ b/lib/torrent2http/platform.py @@ -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)