Skip to content

Commit bbcd406

Browse files
committed
Add Android to platforms list
1 parent ded0201 commit bbcd406

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

install.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
def show_progress(block_num, block_size, total_size):
99
print(round(block_num * block_size / total_size *100,2), end="\r")
1010

11-
platforms = ['ios', 'macos', 'linux', 'windows']
11+
platforms = ['android', 'ios', 'macos', 'linux', 'windows']
1212
download_dir = 'downloads~'
1313

1414
def main():
@@ -27,8 +27,8 @@ def main():
2727
filename = 'ffi-' + platform + '-' + arch + '.zip'
2828
url = f"{config['ffi']['url']}/{tag_path}/{filename}"
2929
file_to_download = download_dir + '/' + filename
30-
if download_file_if_not_exists(url, file_to_download) :
31-
dest = 'Runtime/Plugins' + '/ffi-' + platform + '-' + arch
30+
if download_file_if_not_exists(url, file_to_download) :
31+
dest = 'Runtime/Plugins' + '/ffi-' + platform + '-' + arch
3232
unzip_file(file_to_download, filename, dest)
3333

3434
def download_file_if_not_exists(url, filename):

0 commit comments

Comments
 (0)