Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
Tracker-Friendly | 5f1f51ead0 | |
Tracker-Friendly | 374850ef2c |
|
@ -27,9 +27,11 @@
|
||||||
</div>
|
</div>
|
||||||
<div id="appGrid" class="appGrid">
|
<div id="appGrid" class="appGrid">
|
||||||
<a class="featuredApp" src="/"><img></a>
|
<a class="featuredApp" src="/"><img></a>
|
||||||
<div id="iOSAppInfo" class="hidden">
|
<div id="AppInfo" class="hidden">
|
||||||
<h3>Featured apps for your device</h3>
|
<h3>Featured apps for your device</h3>
|
||||||
<a href="https://altstore.io/">AltStore</a> is required in order to install apps on iOS</p>
|
<div id="iOSAppInfo" class="hidden">
|
||||||
|
<p><a href="https://altstore.io/">AltStore</a> or <a href="https://github.com/TheResonanceTeam/TrollApps">TrollApps</a> is required in order to install apps on iOS</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="unknownAppInfo" class="hidden">
|
<div id="unknownAppInfo" class="hidden">
|
||||||
<h3>No apps are available for your device</h3>
|
<h3>No apps are available for your device</h3>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"name": "Burgerstore",
|
"name": "Burgerstore",
|
||||||
"subtitle": "The app store for everything",
|
"subtitle": "The app store for everything",
|
||||||
"description": "Welcome to the Burgerstore for iOS",
|
"description": "Welcome to the Burgerstore for iOS",
|
||||||
"iconURL": "https://store.hectabit.org/assets/img/burgerstore.png",
|
"iconURL": "https://store.hectabit.org/static/img/burgerstore.png",
|
||||||
"website": "https://store.hectabit.org",
|
"website": "https://store.hectabit.org",
|
||||||
"tintColor": "#0096FF",
|
"tintColor": "#0096FF",
|
||||||
"featuredApps": [],
|
"featuredApps": [],
|
||||||
|
@ -12,11 +12,10 @@
|
||||||
"bundleIdentifier": "org.hectabit.burgernotes",
|
"bundleIdentifier": "org.hectabit.burgernotes",
|
||||||
"developerName": "HectaBit",
|
"developerName": "HectaBit",
|
||||||
"subtitle": "A simple note-taking service!",
|
"subtitle": "A simple note-taking service!",
|
||||||
"iconURL": "https://centrifuge.hectabit.org/HectaBit/Burgernotes-iOS/raw/branch/main/Burgernotes/Assets.xcassets/org.hectabit.burgernotes.imageset/1024x.png",
|
"iconURL": "https://store.hectabit.org/static/img/org.hectabit.burgernotes.png",
|
||||||
"tintColor": "#FFFFFF",
|
"tintColor": "#FFFFFF",
|
||||||
"category": "utilities",
|
"category": "utilities",
|
||||||
"screenshots": [],
|
"screenshots": [],
|
||||||
"avaliblePlatforms": "iOS, Linux & Web",
|
|
||||||
"versions": [
|
"versions": [
|
||||||
{
|
{
|
||||||
"version": "b1.0.0",
|
"version": "b1.0.0",
|
||||||
|
@ -26,20 +25,6 @@
|
||||||
"minOSVersion": "15.0"
|
"minOSVersion": "15.0"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"versionstore": [
|
|
||||||
{
|
|
||||||
"platform": "web",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"buildVersion": "1",
|
|
||||||
"downloadUrl": "https://notes.hectabit.org"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"platform": "linux",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"buildVersion": "1",
|
|
||||||
"downloadUrl": "https://dl.flathub.org/repo/appstream/org.hectabit.Burgernotes.flatpakref"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"appPermissions": {},
|
"appPermissions": {},
|
||||||
"patreon": {}
|
"patreon": {}
|
||||||
},
|
},
|
||||||
|
@ -48,17 +33,16 @@
|
||||||
"bundleIdentifier": "lol.cta.burgertunes",
|
"bundleIdentifier": "lol.cta.burgertunes",
|
||||||
"developerName": "cta",
|
"developerName": "cta",
|
||||||
"subtitle": "Experimental music player",
|
"subtitle": "Experimental music player",
|
||||||
"iconURL": "https://files.colon3.lol/2Rsu2zfS.burgertunesicon.svg",
|
"iconURL": "https://store.hectabit.org/static/img/lol.cta.burgertunes.png",
|
||||||
"tintColor": "#f1b739",
|
"tintColor": "#f1b739",
|
||||||
"category": "entertainment",
|
"category": "entertainment",
|
||||||
"screenshots": [],
|
"screenshots": [],
|
||||||
"avaliblePlatforms": "iOS",
|
|
||||||
"versions": [
|
"versions": [
|
||||||
{
|
{
|
||||||
"version": "b1.0.0",
|
"version": "b1.0.0",
|
||||||
"buildVersion": "1",
|
"buildVersion": "1",
|
||||||
"date": "2024-02-29",
|
"date": "2024-03-29",
|
||||||
"downloadURL": "https://files.colon3.lol/Zv2L2RKc.burgertunes.ipa",
|
"downloadURL": "https://store.hectabit.org/static/ipa/lol.cta.burgertunes-b1.0.0.ipa",
|
||||||
"minOSVersion": "13.4"
|
"minOSVersion": "13.4"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -66,5 +50,27 @@
|
||||||
"patreon": {}
|
"patreon": {}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"linuxapps": [
|
||||||
|
{
|
||||||
|
"name": "Burgernotes",
|
||||||
|
"bundleIdentifier": "org.hectabit.burgernotes",
|
||||||
|
"developerName": "HectaBit",
|
||||||
|
"subtitle": "A simple note-taking service!",
|
||||||
|
"iconURL": "https://store.hectabit.org/static/img/org.hectabit.burgernotes.png",
|
||||||
|
"tintColor": "#FFFFFF",
|
||||||
|
"category": "utilities",
|
||||||
|
"screenshots": [],
|
||||||
|
"versions": [
|
||||||
|
{
|
||||||
|
"version": "1.0.0",
|
||||||
|
"buildVersion": "1",
|
||||||
|
"date": "2024-03-29",
|
||||||
|
"downloadURL": "https://dl.flathub.org/repo/appstream/org.hectabit.Burgernotes.flatpakref"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"appPermissions": {},
|
||||||
|
"patreon": {}
|
||||||
|
}
|
||||||
|
],
|
||||||
"news": []
|
"news": []
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,7 +38,7 @@ body {
|
||||||
.appGrid .app p {
|
.appGrid .app p {
|
||||||
display: inline;
|
display: inline;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
margin-right: 20px;
|
margin-right: 80px;
|
||||||
transform: translateY(1px);
|
transform: translateY(1px);
|
||||||
}
|
}
|
||||||
.appGrid .app .title {
|
.appGrid .app .title {
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 44 KiB |
Binary file not shown.
After Width: | Height: | Size: 42 KiB |
Binary file not shown.
After Width: | Height: | Size: 52 KiB |
Binary file not shown.
|
@ -1,4 +1,5 @@
|
||||||
let appGrid = document.getElementById("appGrid")
|
let appGrid = document.getElementById("appGrid")
|
||||||
|
let AppInfo = document.getElementById("AppInfo")
|
||||||
let iOSAppInfo = document.getElementById("iOSAppInfo")
|
let iOSAppInfo = document.getElementById("iOSAppInfo")
|
||||||
let unknownAppInfo = document.getElementById("unknownAppInfo")
|
let unknownAppInfo = document.getElementById("unknownAppInfo")
|
||||||
|
|
||||||
|
@ -19,6 +20,7 @@ if (navigator.userAgent.includes("iPhone") || navigator.userAgent.includes("iPad
|
||||||
}
|
}
|
||||||
|
|
||||||
// show iOS app info
|
// show iOS app info
|
||||||
|
AppInfo.classList.remove("hidden")
|
||||||
iOSAppInfo.classList.remove("hidden")
|
iOSAppInfo.classList.remove("hidden")
|
||||||
|
|
||||||
// Load AltStore repository
|
// Load AltStore repository
|
||||||
|
@ -53,6 +55,44 @@ if (navigator.userAgent.includes("iPhone") || navigator.userAgent.includes("iPad
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
// Check for Linux
|
||||||
|
if (navigator.userAgent.includes("Linux")) {
|
||||||
|
|
||||||
|
// show app info
|
||||||
|
AppInfo.classList.remove("hidden")
|
||||||
|
|
||||||
|
// Load BurgerStore repository
|
||||||
|
getStore("repo/store.json").then((data) => {
|
||||||
|
console.log(data["title"])
|
||||||
|
console.log(data["apps"])
|
||||||
|
for (index in data["linuxapps"]) {
|
||||||
|
let application = data["linuxapps"][index]
|
||||||
|
|
||||||
|
// UI stuff
|
||||||
|
let appDiv = document.createElement("div")
|
||||||
|
appDiv.classList.add("app")
|
||||||
|
appGrid.append(appDiv)
|
||||||
|
|
||||||
|
let appImage = document.createElement("img")
|
||||||
|
appImage.src = application["iconURL"]
|
||||||
|
appDiv.append(appImage)
|
||||||
|
|
||||||
|
let appTitle = document.createElement("p")
|
||||||
|
appTitle.classList.add("title")
|
||||||
|
appTitle.innerText = application["name"]
|
||||||
|
appDiv.append(appTitle)
|
||||||
|
|
||||||
|
let appInfo = document.createElement("p")
|
||||||
|
appInfo.classList.add("w300")
|
||||||
|
appInfo.innerText = application["developerName"] + " | " + application["subtitle"]
|
||||||
|
appDiv.append(appInfo)
|
||||||
|
|
||||||
|
let appButton = document.createElement("button")
|
||||||
|
appButton.innerText = "Get"
|
||||||
|
appDiv.append(appButton)
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
// Unknown device
|
// Unknown device
|
||||||
else {
|
else {
|
||||||
unknownAppInfo.classList.remove("hidden")
|
unknownAppInfo.classList.remove("hidden")
|
||||||
|
|
Reference in New Issue