WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 18a628a

Browse files
authored
Merge pull request #42 from Angelmmiguel/add-endor-lamp
Introduce LAMP in the browser
2 parents 9182cde + ce6acd9 commit 18a628a

File tree

8 files changed

+33
-4
lines changed

8 files changed

+33
-4
lines changed

download_builder.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class DownloadBuilder < Middleman::Extension
22
option :source, "./downloads.yml", "Source manifest (.yml)"
33

4-
DISPLAY_ORDER = %w[windows linux apple appleVM]
4+
DISPLAY_ORDER = %w[windows browsers linux apple appleVM]
55
FRIENDLY_NAMES = {
66
"apple" => "OS X",
77
"appleVM" => "OS X (VM)",

downloads.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,3 +154,17 @@ apple:
154154
checksum_sha256: eb9888f2e3b131ae9a5fbec063a6b642a7285e065a8e5f5e97c699b71e2d7ac5
155155
size: 150 Mb
156156
url: https://sourceforge.net/projects/xampp/files/XAMPP%20Mac%20OS%20X/8.2.4/xampp-osx-8.2.4-0-installer.dmg
157+
browsers:
158+
- version: 8.3.12
159+
php_version: 8.3.12
160+
whats_included: Alpine Linux 3.20, Apache 2.4.62, MariaDB 10.11-8, PHP 8.3.12 & PEAR + multibyte (mbstring) support,
161+
Perl 5.38.2, phpMyAdmin 5.2.1
162+
requirements: 'Tested on Desktop versions of Chrome and derivatives'
163+
downloads:
164+
x64:
165+
checksum_md5: Not required
166+
checksum_sha1: Not required
167+
checksum_sha256: Not required
168+
size: '-'
169+
browser_app: true
170+
url: https://endor.dev/s/lamp

en.po

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ msgstr ""
2424
#: en.download.whats_included
2525
msgid "What's Included?"
2626
msgstr ""
27+
#: en.download.run_in_browser
28+
msgid "Run in the browser"
29+
msgstr "Run in the browser"
2730
#: en.download.requirements.title
2831
msgid "Requirements"
2932
msgstr ""

locales/en.po

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ msgstr ""
3030
msgid "What's Included?"
3131
msgstr "What's Included?"
3232

33+
#: en.download.run_in_browser
34+
msgid "Run in the browser"
35+
msgstr "Run in the browser"
36+
3337
#: en.download.requirements.title
3438
msgid "Requirements"
3539
msgstr "Requirements"
@@ -2142,4 +2146,4 @@ msgid "This is most often a symptom of the VM running on a computer with an Appl
21422146
msgstr "This is most often a symptom of the VM running on a computer with an Apple M1 (arm64) CPU. The VM components do not support the M1 CPU (as of September 2022). You can only use the VM on computers with intel (x64) CPUs. On computers with the M1 CPU, please use the XAMPP native installers instead."
21432147

21442148
msgid ""
2145-
msgstr ""
2149+
msgstr ""

locales/es.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ msgstr ""
3030
msgid "What's Included?"
3131
msgstr "¿Qué está incluido?."
3232

33+
#: en.download.run_in_browser
34+
msgid "Run in the browser"
35+
msgstr "Abrir en el navegador"
36+
3337
#: en.download.requirements.title
3438
msgid "Requirements"
3539
msgstr "Requisitos"
349 Bytes
Loading

source/localizable/download.html.erb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ keywords: xampp, apache, php, perl, mysql, windows, linux, osx
4242
</ul>
4343
</td>
4444
<td class="text-right">
45-
<%= download_link_to "#{t('Download')} (#{bits[1..-1]} bit)", download["url"], :class => "button" %>
45+
<% if download["browser_app"] == true %>
46+
<%= link_to t('Run in the browser'), download["url"], :class => "button", :target => "_blank" %>
47+
<% else %>
48+
<%= download_link_to "#{t('Download')} (#{bits[1..-1]} bit)", download["url"], :class => "button" %>
49+
<% end %>
4650
</td>
4751
<td class="show-for-medium-up"><%= download["size"] %></td>
4852
<% end %>

source/localizable/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ keywords: xampp, apache, php, perl, mysql, open source distribution
3636
</div>
3737
</div>
3838
<% downloads.each do |os, downloads| %>
39-
<% if os != 'appleVM' %>
39+
<% if os != 'appleVM' && os != 'browsers' %>
4040
<div class="large-3 columns">
4141
<%
4242
last_main_version = downloads.last

0 commit comments

Comments
 (0)