Windows 64 support
This commit is contained in:
10
index.php
10
index.php
@@ -123,6 +123,11 @@ Function print_build($current, $next, $buildNr, $chan)
|
|||||||
<a class='dimmer' href='" . URL_ROOT . "/" . $current->file . ".log'>Build Log</a>";
|
<a class='dimmer' href='" . URL_ROOT . "/" . $current->file . ".log'>Build Log</a>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($current->win64_file) {
|
||||||
|
print "<br/><a href='" . URL_ROOT . "/" . $current->win64_file . "'><img src=\"" . IMG_ROOT . "/dl.gif\" alt=\"Download Windows 64 Build\"/> Windows (64 bit)</a>
|
||||||
|
 <a class='dimmer' href='" . URL_ROOT . "/" . $current->win64_file . ".log'>Build Log</a>";
|
||||||
|
}
|
||||||
|
|
||||||
if ($current->linux_file) {
|
if ($current->linux_file) {
|
||||||
print "<br/><a href='" . URL_ROOT . "/" . $current->linux_file . "'><img src=\"" . IMG_ROOT . "/dl.gif\" alt=\"Download Linux Build (32 bit)\"/> Linux (32 bit)</a>";
|
print "<br/><a href='" . URL_ROOT . "/" . $current->linux_file . "'><img src=\"" . IMG_ROOT . "/dl.gif\" alt=\"Download Linux Build (32 bit)\"/> Linux (32 bit)</a>";
|
||||||
if (file_exists($current->linux_file . ".log")) {
|
if (file_exists($current->linux_file . ".log")) {
|
||||||
@@ -142,7 +147,7 @@ Function print_build($current, $next, $buildNr, $chan)
|
|||||||
if ($current->osx_file) {
|
if ($current->osx_file) {
|
||||||
print "<br/><a href='" . URL_ROOT . "/" . $current->osx_file . "'><img src=\"" . IMG_ROOT . "/dl.gif\" alt=\"Download Mac OS X Build\"/> Mac OS X</a>";
|
print "<br/><a href='" . URL_ROOT . "/" . $current->osx_file . "'><img src=\"" . IMG_ROOT . "/dl.gif\" alt=\"Download Mac OS X Build\"/> Mac OS X</a>";
|
||||||
if (file_exists($current->osx_file . ".log")) {
|
if (file_exists($current->osx_file . ".log")) {
|
||||||
print " <a class='dimmer' href='" . URL_ROOT . "/" . $current->osx_file . ".log'>Build Log</a>";
|
print "  <a class='dimmer' href='" . URL_ROOT . "/" . $current->osx_file . ".log'>Build Log</a>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -207,6 +212,9 @@ if ($res = $DB->query(kl_str_sql("select * from builds where chan=!s $where orde
|
|||||||
$file = "{$chan}_" . str_replace(".", "-", $build->version) . "_Setup.exe";
|
$file = "{$chan}_" . str_replace(".", "-", $build->version) . "_Setup.exe";
|
||||||
$build->file = file_exists($file) ? $file : false;
|
$build->file = file_exists($file) ? $file : false;
|
||||||
|
|
||||||
|
$win64_file = "{$chan}_" . str_replace(".", "-", $build->version) . "_x86-64_Setup.exe";
|
||||||
|
$build->win64_file = file_exists($win64_file) ? $win64_file : false;
|
||||||
|
|
||||||
$linux_file = "{$chan}-i686-{$build->version}.tar.bz2";
|
$linux_file = "{$chan}-i686-{$build->version}.tar.bz2";
|
||||||
$build->linux_file = file_exists($linux_file) ? $linux_file : false;
|
$build->linux_file = file_exists($linux_file) ? $linux_file : false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user