mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2025-05-15 07:34:44 -04:00
🖼 svgs list
This commit is contained in:
parent
09892e5cdd
commit
fa8de2813f
1 changed files with 3 additions and 1 deletions
|
@ -3,7 +3,9 @@ import fs from "fs";
|
||||||
|
|
||||||
// Source Directory
|
// Source Directory
|
||||||
const svgsDir = path.resolve(__dirname, "svg");
|
const svgsDir = path.resolve(__dirname, "svg");
|
||||||
const svgs = fs.readdirSync(svgsDir);
|
const svgs = fs
|
||||||
|
.readdirSync(svgsDir)
|
||||||
|
.filter((file) => path.extname(file) === ".svg");
|
||||||
|
|
||||||
// Out Directory
|
// Out Directory
|
||||||
const bitmapsDir = path.resolve(process.cwd(), "bitmaps");
|
const bitmapsDir = path.resolve(process.cwd(), "bitmaps");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue