mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-20 02:05:12 -04:00
🔗 Bitmaps path set to <root>
This commit is contained in:
parent
f51561a3c0
commit
288276f42e
3 changed files with 8 additions and 4 deletions
|
@ -2,7 +2,7 @@ import fs from "fs";
|
|||
import path from "path";
|
||||
|
||||
import { staticCursors, animatedCursors, animatedClip } from "../cursors.json";
|
||||
import { schemesPath } from "../color";
|
||||
import { schemesPath, bitmapsPath } from "../color";
|
||||
import { ColorSchema, Configs } from "../types";
|
||||
|
||||
// --------------------------------------- Generate Configs 🛠
|
||||
|
@ -65,7 +65,7 @@ const generateConfigs = (
|
|||
}
|
||||
|
||||
// Creating Dir for store bitmaps
|
||||
const bitmapsDir = path.resolve(process.cwd(), "bitmaps", schemaName);
|
||||
const bitmapsDir = path.resolve(bitmapsPath, schemaName);
|
||||
fs.mkdirSync(bitmapsDir, { recursive: true });
|
||||
|
||||
// push config to Object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue