mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2025-05-15 07:34:44 -04:00
📸 Animated cursors list
This commit is contained in:
parent
d8210de605
commit
00edd9e63d
1 changed files with 4 additions and 1 deletions
|
@ -4,12 +4,15 @@ import fs from "fs";
|
|||
// Source Directory
|
||||
const svgsDir = path.resolve(__dirname, "svg");
|
||||
|
||||
// .svg
|
||||
let svgs = fs
|
||||
.readdirSync(svgsDir)
|
||||
.filter((file) => path.extname(file) === ".svg");
|
||||
svgs = svgs.map((svg: string) => path.resolve(svgsDir, svg));
|
||||
|
||||
const animatedCursor = ["watch", "left_ptr_watch"];
|
||||
|
||||
// Out Directory
|
||||
const bitmapsDir = path.resolve(process.cwd(), "bitmaps");
|
||||
|
||||
export { svgs, bitmapsDir };
|
||||
export { svgs, animatedCursor, bitmapsDir };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue