Skip to content

Commit

Permalink
append 64bit OS selections.
Browse files Browse the repository at this point in the history
  • Loading branch information
kuri65536 committed Aug 6, 2015
1 parent a1e8921 commit 9bb8e72
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,21 @@ public int getScriptsVersion() {

public String getPlatformString() {
String ret = System.getProperty("os.arch");
if (ret.startsWith("arm")) {
ret = ret.toLowerCase();
if (ret.startsWith("arm") || ret.startsWith("aarch64")) {
ret = "";
}
else if (ret.startsWith("i686")) {
else if (ret.startsWith("i686") ||
ret.startsWith("x86_64") ||
ret.startsWith("amd64")) {
ret = "_x86";
}
else if (ret.startsWith("mips")) {
ret = "_mips";
}
else {
ret = "";
}
return ret;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public String getName() {
}

public String getNiceName() {
return "Python 2.7.9";
return "Python 2.7.10";
}

public boolean hasInterpreterArchive() {
Expand Down

0 comments on commit 9bb8e72

Please sign in to comment.