forked from bitcoin-dot-org/Bitcoin.org
-
Notifications
You must be signed in to change notification settings - Fork 2
/
download.html
executable file
·166 lines (159 loc) · 6.83 KB
/
download.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
---
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.
layout: base-core
id: download
breadcrumbs:
- bitcoin
- bcc
- Download
win32zip: "win32.zip"
win64zip: "win64.zip"
win32exe: "win32-setup.exe"
win64exe: "win64-setup.exe"
macdmg: "-osx.dmg"
#macdmg: ".dmg"
mactar: "osx64.tar.gz"
lin32: "linux32.tar.gz"
lin64: "linux64.tar.gz"
---
{% if site.env.BITCOINORG_BUILD_TYPE %}
<!-- Note: this file exempt from check-for-subheading-anchors check -->
{% capture PATH_PREFIX %}/bin/bitcoin-core-{{ site.DOWNLOAD_VERSION }}{% endcapture %}
{% capture FILE_PREFIX %}bitcoin-{{ site.DOWNLOAD_VERSION }}{% endcapture %}
<link rel="alternate" type="application/rss+xml" href="/en/rss/releases.rss" title="Bitcoin Core releases">
<div class="download">
<h1>{% translate pagetitle %}</h1>
<h2>{% translate latestversion %} {{ site.DOWNLOAD_VERSION }}<a type="application/rss+xml" href="/en/rss/releases.rss"><img src="/img/icons/icon_rss.svg" alt="rss" class="rssicon"></a></h2>
<div class="mainbutton"><a id="downloadbutton" href="{{ PATH_PREFIX }}/{{ FILE_PREFIX }}-{{ page.win32exe }}"><img src="/img/os/but_windows.svg" alt="icon">{% translate download %}</a></div>
<div class="downloadbox">
<p>{% translate downloados %}</p>
<div>
<div>
<img src="/img/os/med_win.png" alt="windows">
<span>
<a href="{{ PATH_PREFIX }}/{{ FILE_PREFIX }}-{{ page.win64exe }}" id="downloadwinexe">Windows</a>
<span><a href="{{ PATH_PREFIX }}/{{ FILE_PREFIX }}-{{ page.win64exe }}" class="dl" id="win64exe">64 bit</a> -
<a href="{{ PATH_PREFIX }}/{{ FILE_PREFIX }}-{{ page.win32exe }}" class="dl" id="win32exe">32 bit</a></span>
</span>
</div>
<div>
<img src="/img/os/med_win.png" alt="windows">
<span>
<a href="{{ PATH_PREFIX }}/{{ FILE_PREFIX }}-{{ page.win64zip }}" id="downloadwinzip">Windows (zip)</a>
<span><a href="{{ PATH_PREFIX }}/{{ FILE_PREFIX }}-{{ page.win64zip }}" class="dl" id="win64zip">64 bit</a> -
<a href="{{ PATH_PREFIX }}/{{ FILE_PREFIX }}-{{ page.win32zip }}" class="dl" id="win32zip">32 bit</a></span>
</span>
</div>
<div>
<img src="/img/os/med_osx.png" alt="osx">
<span>
<a href="{{ PATH_PREFIX }}/{{ FILE_PREFIX }}{{ page.macdmg }}">Mac OS X</a>
<span><a href="{{ PATH_PREFIX }}/{{ FILE_PREFIX }}{{ page.macdmg }}" class="dl" id="macdmg">dmg</a> -
<a href="{{ PATH_PREFIX }}/{{ FILE_PREFIX }}-{{ page.mactar }}" class="dl" id="mactar">tar.gz</a></span>
</span>
</div>
</div>
<div>
<div>
<img src="/img/os/med_linux.png" alt="linux">
<span>
<a href="{{ PATH_PREFIX }}/{{ FILE_PREFIX }}-{{ page.lin64 }}" id="downloadlin">Linux (tgz)</a>
<span><a href="{{ PATH_PREFIX }}/{{ FILE_PREFIX }}-{{ page.lin64 }}" class="dl" id="lin64">64 bit</a> -
<a href="{{ PATH_PREFIX }}/{{ FILE_PREFIX }}-{{ page.lin32 }}" class="dl" id="lin32">32 bit</a></span>
</span>
</div>
<div>
<img src="/img/os/med_ubuntu.svg" alt="ubuntu">
<span>
<a href="https://launchpad.net/~bitcoin/+archive/ubuntu/bitcoin">Ubuntu (PPA)</a>
</span>
</div>
<div>
<img src="/img/os/med_opensource.svg" alt="source code">
<span>
<a href="{{ PATH_PREFIX }}/{{ FILE_PREFIX }}.tar.gz" class="dl">{% translate source %}</a>
<span><a href="https://github.com/bitcoin/bitcoin">GitHub</a></span>
</span>
</div>
</div>
<p class="downloadmore">
<a href="{{ PATH_PREFIX }}/SHA256SUMS.asc" class="dl">{% translate downloadsig %}</a><br>
<a href="{{ PATH_PREFIX }}/{{ FILE_PREFIX }}.torrent" class="dl">{% translate downloadtorrent %}</a>
{% if site.DOWNLOAD_MAGNETLINK %} <a href="{{ site.DOWNLOAD_MAGNETLINK | replace: '&', '\&'}}" class="magnetlink" data-proofer-ignore></a>{% endif %}<br>
<a href="/en/version-history">{% translate versionhistory %}</a>
</p>
<p class="downloadkeys">
<span>{% translate releasekeys %}</span>
<a href="/gavinandresen.asc">v0.8.6 - 0.9.2.1</a>
<a href="/laanwj.asc">v0.9.3 - 0.10.2</a>
<a href="/laanwj-releases.asc">v0.11.0+</a>
</p>
</div>
<h2><img src="/img/icons/note.svg" class="warningicon" alt="note">{% translate patient %}</h2>
<p>{% translate notesync %} {% translate full_node_guide %}</p>
<p>{% translate notelicense %}</p>
</div>
<script type="text/javascript">
var os = 'windows32';
if (navigator.userAgent.indexOf('Mac') != -1) var os = 'mac'
else if (navigator.userAgent.indexOf('Linux') != -1) {
var os='linux32';
if (navigator.userAgent.indexOf('x86_64') != -1) var os = 'linux64';
if (navigator.userAgent.indexOf('Ubuntu') != -1) var os = 'ubuntu';
}
else if (navigator.userAgent.indexOf('WOW64') != -1 || navigator.userAgent.indexOf('Win64') != -1) var os='windows64';
var but = document.getElementById('downloadbutton');
var linkwinexe = document.getElementById('downloadwinexe');
var linkwinzip = document.getElementById('downloadwinzip');
var linklin = document.getElementById('downloadlin');
var hrefwin64exe = document.getElementById('win64exe').href;
var hrefwin32exe = document.getElementById('win32exe').href;
var hrefwin64zip = document.getElementById('win64zip').href;
var hrefwin32zip = document.getElementById('win32zip').href;
var hrefmacdmg = document.getElementById('macdmg').href;
var hrefmactar = document.getElementById('mactar').href;
var hreflin64 = document.getElementById('lin64').href;
var hreflin32 = document.getElementById('lin32').href;
switch (os) {
case 'windows64':
but.getElementsByTagName('IMG')[0].src = '/img/os/but_windows.svg';
but.href = hrefwin64exe;
linkwinexe.href = hrefwin64exe;
linkwinzip.href = hrefwin64zip;
break;
case 'windows32':
but.getElementsByTagName('IMG')[0].src = '/img/os/but_windows.svg';
but.href = hrefwin32exe;
linkwinexe.href = hrefwin32exe;
linkwinzip.href = hrefwin32zip;
break;
case 'linux64':
but.getElementsByTagName('IMG')[0].src = '/img/os/but_linux.png';
but.href = hreflin64;
linklin.href = hreflin64;
break;
case 'linux32':
but.getElementsByTagName('IMG')[0].src = '/img/os/but_linux.png';
but.href = hreflin32;
linklin.href = hreflin32;
break;
case 'ubuntu':
but.getElementsByTagName('IMG')[0].src = '/img/os/but_ubuntu.svg';
but.href = 'https://launchpad.net/~bitcoin/+archive/ubuntu/bitcoin';
break;
case 'mac':
but.getElementsByTagName('IMG')[0].src = '/img/os/but_mac.svg';
but.href = hrefmacdmg;
break;
}
</script>
{% else %}
{% capture redirect %}https://bitcoin.org/{{page.lang}}/{% translate download url %}{% endcapture %}
<meta name="robots" content="noindex">
<script>window.location.href='{{ redirect }}';</script>
<div class="redirectmsg">
<h1>This page has been moved</h1>
<p><a href="{{ redirect }}">{{ redirect }}</a></p>
</div>
{% endif %}