Skip to content

Commit f6ddf43

Browse files
committed
use category instead of arch
1 parent b2f6a75 commit f6ddf43

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

web/postbuild.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ readdirSync("./src/pages/repo/").forEach((repo) => {
1010
);
1111

1212
apps.forEach((app) => {
13-
const [, , , , , , pkg_family, pkg] = app.pkg_webpage.split("/");
13+
const [, , , , , category, pkg_family, pkg] = app.pkg_webpage.split("/");
1414

1515
writeFileSync(
16-
`./dist/repo/${repo}/${arch}/${pkg_family}/${pkg}/raw.json`,
16+
`./dist/repo/${repo}/${category}/${pkg_family}/${pkg}/raw.json`,
1717
JSON.stringify(app, null, 2)
1818
);
1919
});

0 commit comments

Comments
 (0)