mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2025-05-15 07:34:44 -04:00
🔧 Configs updated
This commit is contained in:
parent
7a81d84872
commit
57c424e668
2 changed files with 6 additions and 4 deletions
|
@ -1,13 +1,15 @@
|
|||
import path from "path";
|
||||
import { cursors } from "./cursors.json";
|
||||
import { staticCursors } from "./cursors.json";
|
||||
|
||||
// Source Directory
|
||||
const svgsDir = path.resolve(__dirname, "svg");
|
||||
|
||||
// Resolve Paths for svg
|
||||
const svgs = cursors.map((svg: string) => path.resolve(svgsDir, svg));
|
||||
const staticSvgs = staticCursors.map((svg: string) =>
|
||||
path.resolve(svgsDir, svg)
|
||||
);
|
||||
|
||||
// Out Directory
|
||||
const bitmapsDir = path.resolve(process.cwd(), "bitmaps");
|
||||
|
||||
export { svgs, bitmapsDir };
|
||||
export { staticSvgs, bitmapsDir };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue