Split windows arch (32bit, 64bit). Add win64 1.2.7 version. Fix aarch64

This commit is contained in:
Бородин Роман committed 2020-06-02 19:10:39 +03:00
1 parent 7a053dca7d
commit 94e0bbf905
24 files changed
+20 -12

No files matched your search

+8 -5
View File
@@ -107,10 +107,13 @@ def get_platform():
ret["arch"] = "mipsel_ucs4"
elif system == 12:
ret["os"] = "linux"
ret["arch"] = "linux_aarch64_ucs2"
ret["arch"] = "aarch64_ucs2"
elif system == 13:
ret["os"] = "linux"
ret["arch"] = "linux_aarch64_ucs4"
ret["arch"] = "aarch64_ucs4"
elif system == 14:
ret["os"] = "windows"
ret["arch"] = "x64"
else:
ret = {
@@ -157,7 +160,7 @@ def get_system(ret):
ret["message"] = ['', '']
if ret["os"] == 'windows':
ret["system"] = 'windows'
ret["system"] = 'windows_' + ret['arch']
ret["message"] = ['Windows has static compiled python-libtorrent included.',
'You should install "script.module.libtorrent" from "MyShows.me Kodi Repo"']
elif ret["os"] == "linux" and ret["arch"] == "x64":
@@ -172,7 +175,7 @@ def get_system(ret):
ret["system"] = 'linux_' + ret["arch"]
ret["message"] = ['Linux has static compiled python-libtorrent included but it didn\'t work.',
'You should install it by "sudo apt-get install python-libtorrent"']
elif ret["os"] == "linux" and ("arm" or "mips" in ret["arch"]):
elif ret["os"] == "linux" and ("arm" in ret["arch"] or 'mips' in ret["arch"]):
ret["system"] = 'linux_'+ret["arch"]
ret["message"] = ['As far as I know you can compile python-libtorrent for ARMv6-7.',
'You should search for "OneEvil\'s OpenELEC libtorrent" or use Ace Stream.']
@@ -192,4 +195,4 @@ def get_system(ret):
ret["message"] = ['It is probably NOT possible to compile python-libtorrent for iOS.',
'But you can use torrent-client control functions.']
return ret
return ret
@@ -107,10 +107,13 @@ def get_platform():
ret["arch"] = "mipsel_ucs4"
elif system == 12:
ret["os"] = "linux"
ret["arch"] = "linux_aarch64_ucs2"
ret["arch"] = "aarch64_ucs2"
elif system == 13:
ret["os"] = "linux"
ret["arch"] = "linux_aarch64_ucs4"
ret["arch"] = "aarch64_ucs4"
elif system == 14:
ret["os"] = "windows"
ret["arch"] = "x64"
else:
ret = {
@@ -157,7 +160,7 @@ def get_system(ret):
ret["message"] = ['', '']
if ret["os"] == 'windows':
ret["system"] = 'windows'
ret["system"] = 'windows_' + ret['arch']
ret["message"] = ['Windows has static compiled python-libtorrent included.',
'You should install "script.module.libtorrent" from "MyShows.me Kodi Repo"']
elif ret["os"] == "linux" and ret["arch"] == "x64":
@@ -172,7 +175,7 @@ def get_system(ret):
ret["system"] = 'linux_' + ret["arch"]
ret["message"] = ['Linux has static compiled python-libtorrent included but it didn\'t work.',
'You should install it by "sudo apt-get install python-libtorrent"']
elif ret["os"] == "linux" and ("arm" or "mips" in ret["arch"]):
elif ret["os"] == "linux" and ("arm" in ret["arch"] or 'mips' in ret["arch"]):
ret["system"] = 'linux_'+ret["arch"]
ret["message"] = ['As far as I know you can compile python-libtorrent for ARMv6-7.',
'You should search for "OneEvil\'s OpenELEC libtorrent" or use Ace Stream.']
@@ -192,4 +195,4 @@ def get_system(ret):
ret["message"] = ['It is probably NOT possible to compile python-libtorrent for iOS.',
'But you can use torrent-client control functions.']
return ret
return ret
Whitespace-only changes.
@@ -0,0 +1 @@
5052416
Whitespace-only changes.