mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2025-05-15 23:54:44 -04:00
🔧 Only Config
This commit is contained in:
parent
85d0083f40
commit
18716b180d
1 changed files with 3 additions and 5 deletions
|
@ -1,12 +1,10 @@
|
||||||
import path from "path";
|
import { resolve } from "path";
|
||||||
import fs from "fs";
|
|
||||||
import { staticCursors, animatedCursors, animatedClip } from "./cursors.json";
|
import { staticCursors, animatedCursors, animatedClip } from "./cursors.json";
|
||||||
|
|
||||||
// Source Directory
|
// Source Directory
|
||||||
const svgsDir = path.resolve(__dirname, "svg");
|
const svgsDir = resolve(__dirname, "svg");
|
||||||
|
|
||||||
// Out Directory
|
// Out Directory
|
||||||
const bitmapsDir = path.resolve(process.cwd(), "bitmaps");
|
const bitmapsDir = resolve(__dirname, "bitmaps");
|
||||||
if (!fs.existsSync(bitmapsDir)) fs.mkdirSync(bitmapsDir);
|
|
||||||
|
|
||||||
export { staticCursors, animatedCursors, svgsDir, bitmapsDir, animatedClip };
|
export { staticCursors, animatedCursors, svgsDir, bitmapsDir, animatedClip };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue