mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
shell file paths list
This commit is contained in:
1 parent
f882ea29e2
commit
fb34e6ce2f
1 file changed
+2
@@ -11,6 +11,8 @@ export const getStaticPaths = mixStaticPaths(_getStaticPaths, async () => {
|
|||||||
.dir(`Data/Gfx/Shared/tank-supply/ammunition/big`)
|
.dir(`Data/Gfx/Shared/tank-supply/ammunition/big`)
|
||||||
.then((files) => files.filter((file) => file.endsWith("_l.txt")));
|
.then((files) => files.filter((file) => file.endsWith("_l.txt")));
|
||||||
|
|
||||||
|
console.log("Shell file paths", files);
|
||||||
|
|
||||||
for (const file of files) {
|
for (const file of files) {
|
||||||
const id = file.match(/(.+)_l\.txt/)![1];
|
const id = file.match(/(.+)_l\.txt/)![1];
|
||||||
const sizes = (
|
const sizes = (
|
||||||
|
|||||||
Reference in new issue
Block a user