Skip to content

Commit 1f412e7

Browse files
committed
download: Enable Windows arm64 builds
1 parent 8d497d2 commit 1f412e7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

public_html/lib/module/download/inc-download-platform.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<div class='sha2-ico-desc' style="background: url(/img/icons/buttons/sha2-arm64.png) center / contain no-repeat;"></div>
3434
<span>
3535
<?php
36-
if (/*isset($build) && !is_null($build->checksum_win_arm64) &&*/ false) // Disabled
36+
if (isset($build) && !is_null($build->checksum_win_arm64))
3737
printf("%s", $build->checksum_win_arm64);
3838
else if (isset($build_windows_arm64))
3939
printf("%s", $build_windows_arm64->checksum_win_arm64);
@@ -82,7 +82,7 @@
8282
printf("</a>");
8383
?>
8484
<?php
85-
if (/*isset($build) && !is_null($build->get_url_windows_arm64()) &&*/ false) // Disabled
85+
if (isset($build) && !is_null($build->get_url_windows_arm64()))
8686
printf("<a href=\"%s\" download>", $build->get_url_windows_arm64());
8787
else if (isset($build_windows_arm64))
8888
printf("<a href=\"%s\" download>", $build_windows_arm64->get_url_windows_arm64());
@@ -93,7 +93,7 @@
9393
<div class='package-con-metabutton'>
9494
<span class='package-tx1-metabutton'>
9595
<?php
96-
if (/*isset($build) && !is_null($build->get_url_windows_arm64()) &&*/ false) // Disabled
96+
if (isset($build) && !is_null($build->get_url_windows_arm64()))
9797
printf("Download for arm64");
9898
else
9999
printf("Coming soon...");
@@ -102,7 +102,7 @@
102102
<br>
103103
<span class='package-tx2-metabutton'>
104104
<?php
105-
if (/*isset($build) && !is_null($build->get_size_mb_windows_arm64()) &&*/ false) // Disabled
105+
if (isset($build) && !is_null($build->get_size_mb_windows_arm64()))
106106
printf("%s MB", $build->get_size_mb_windows_arm64());
107107
else
108108
printf("");
@@ -111,7 +111,7 @@
111111
</div>
112112
</div>
113113
<?php
114-
if (/*isset($build) && !is_null($build->get_url_windows_arm64()) &&*/ false) // Disabled
114+
if (isset($build) && !is_null($build->get_url_windows_arm64()))
115115
printf("</a>");
116116
?>
117117
</div>

0 commit comments

Comments
 (0)