aboutsummaryrefslogtreecommitdiff
path: root/src/app/browser.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/browser.js')
-rw-r--r--src/app/browser.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/browser.js b/src/app/browser.js
index eb18fe5..73eb6f7 100644
--- a/src/app/browser.js
+++ b/src/app/browser.js
@@ -25,6 +25,7 @@ var Browser = {
title: pkg.name,
image: pkg.icon,
author: pkg.owner,
+ download: pkg.download_url,
description: pkg.description
})
}
@@ -62,8 +63,7 @@ function BrowserEl(properties) {
<div class="text">
<div class="title">${properties.title}</div>
<div class="description">${properties.description} - ${lang("gui.browser.madeby")} ${properties.author}</div>
- <button>Install</button>
- <button>Info</button>
+ <button onclick="installFromURL('${properties.download}')">Install</button>
</div>
</div>
`