Skip to content

Commit 65bf169

Browse files
authored
Update raw.dl.astro
1 parent 7f800e5 commit 65bf169

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

  • web/src/pages/dl/bincache/aarch64-linux/[family]/[package]

web/src/pages/dl/bincache/aarch64-linux/[family]/[package]/raw.dl.astro

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@ export async function getStaticPaths() {
55
const { default: apps } = await import("../../../../../repo/bincache/aarch64-linux/_apps.json");
66
77
return apps.map((app) => {
8+
// Thanks @Azathothas for forcing us to write this hellifying script
9+
const [, , , , , , pkg_family, pkg] = app.pkg_webpage.split("/");
10+
811
return {
912
params: {
10-
family: app.pkg_family,
11-
package: app.pkg_name || app.pkg,
13+
family: pkg_family,
14+
package: pkg_name,
1215
},
1316
props: {
1417
data: app,

0 commit comments

Comments
 (0)