Skip to content

Commit

Permalink
Revert "Issue #4 Android compatibility with arm64-v8"
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRory authored Jan 4, 2019
1 parent ffaa90c commit d7afe5c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 79 deletions.
71 changes: 0 additions & 71 deletions .gitignore

This file was deleted.

8 changes: 0 additions & 8 deletions public/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,13 @@ var popcorn = {
},
getAndroidVersion: function () {
$.get('https://ci.popcorntime.sh/android', function(resp) {
console.log(resp.mobile);
var version = resp.mobile.release["armeabi-v7a"].versionName;
var newUrl = 'https://get.popcorntime.sh/android/' + version + '/mobile-armeabi-v7a-release-' + version + '.apk';
if(version.indexOf("0") == 0) {
version = version.substring(2, version.length);
}
$('a[data-os="Android"]').attr('href', newUrl).html(i18n.t("download.text", { defaultValue: "Download Beta %s", postProcess: 'sprintf', sprintf: [version] }));

version = resp.mobile.release["arm64-v8a"].versionName;
var newUrl64v8Url = 'https://get.popcorntime.sh/android/' + version + '/mobile-arm64-v8a-release' + version + '.apk';
if(version.indexOf("0") == 0) {
version = version.substring(2, version.length);
}
$('a[data-os="Android"]').attr('href', newUrl64v8Url).html(i18n.t("download.text", { defaultValue: "Download Beta %s", postProcess: 'sprintf', sprintf: [version] }));

version = resp.tv.release["armeabi-v7a"].versionName;
var newArmUrl = 'https://get.popcorntime.sh/android/' + version + '/tv-armeabi-v7a-release-' + version + '.apk';
var newX86Url = 'https://get.popcorntime.sh/android/' + version + '/tv-x86-release-' + version + '.apk';
Expand Down

0 comments on commit d7afe5c

Please sign in to comment.