mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-19 09:45:24 -04:00
💾 Write Schema
This commit is contained in:
parent
7a73fec48a
commit
08bfe1436f
1 changed files with 13 additions and 13 deletions
|
@ -53,12 +53,12 @@ const generateConfigs = ({
|
||||||
.replace(new RegExp(outlineKeyColor, "g"), outline);
|
.replace(new RegExp(outlineKeyColor, "g"), outline);
|
||||||
|
|
||||||
// Save Schema
|
// Save Schema
|
||||||
const cursorPath = path.resolve(
|
const cursorPath = path.resolve(schemaSvgsPath, "static");
|
||||||
schemaSvgsPath,
|
writeSchemaData({
|
||||||
"static",
|
path: cursorPath,
|
||||||
path.basename(cursor)
|
fileName: path.basename(cursor),
|
||||||
);
|
content
|
||||||
writeSchemaData(cursorPath, content);
|
});
|
||||||
return cursorPath;
|
return cursorPath;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -87,12 +87,12 @@ const generateConfigs = ({
|
||||||
}
|
}
|
||||||
|
|
||||||
// Save Schema
|
// Save Schema
|
||||||
const cursorPath = path.resolve(
|
const cursorPath = path.resolve(schemaSvgsPath, "animated");
|
||||||
schemaSvgsPath,
|
writeSchemaData({
|
||||||
"animated",
|
path: cursorPath,
|
||||||
path.basename(cursor)
|
fileName: path.basename(cursor),
|
||||||
);
|
content
|
||||||
writeSchemaData(cursorPath, content);
|
});
|
||||||
|
|
||||||
return cursorPath;
|
return cursorPath;
|
||||||
});
|
});
|
||||||
|
@ -102,7 +102,7 @@ const generateConfigs = ({
|
||||||
fs.mkdirSync(bitmapsDir, { recursive: true });
|
fs.mkdirSync(bitmapsDir, { recursive: true });
|
||||||
|
|
||||||
// push config to Object
|
// push config to Object
|
||||||
configs[schema] = {
|
configs[schemaName] = {
|
||||||
bitmapsDir,
|
bitmapsDir,
|
||||||
animatedCursors: aCursors,
|
animatedCursors: aCursors,
|
||||||
staticCursors: sCursors
|
staticCursors: sCursors
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue