aboutsummaryrefslogtreecommitdiff
path: root/src/app/js/browser.js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2024-12-20 13:09:12 +0100
committerGitHub <noreply@github.com>2024-12-20 13:09:12 +0100
commit28130f46eb9c167671994b47b77b926386002ac2 (patch)
tree26185cbcba747df98e6de6d7e225777093c6720c /src/app/js/browser.js
parent8fddf38701f50015ee8f61ce7bc8978f1dcebfd3 (diff)
parentb9c0243d6433550784116fac7eec462cc5ae2a79 (diff)
downloadViper-28130f46eb9c167671994b47b77b926386002ac2.tar.gz
Viper-28130f46eb9c167671994b47b77b926386002ac2.zip
Merge pull request #248 from Jan200101/PR/protocol
feat: support thunderstore ror2mm protocol for installing mods
Diffstat (limited to 'src/app/js/browser.js')
-rw-r--r--src/app/js/browser.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/app/js/browser.js b/src/app/js/browser.js
index bd9506f..aaca6a8 100644
--- a/src/app/js/browser.js
+++ b/src/app/js/browser.js
@@ -475,6 +475,11 @@ browser.mod_el = (properties) => {
browserEntries.appendChild(entry);
}
+browser.packages = async () => {
+ await browser.loadfront();
+ return packages;
+}
+
let recent_toasts = {};
function add_recent_toast(name, timeout = 3000) {
if (recent_toasts[name]) {return}