mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-23 19:46:57 -04:00
🔗 return Schema .svg path in Config
This commit is contained in:
parent
9d451f1821
commit
b83bcf4d8a
1 changed files with 7 additions and 4 deletions
|
@ -53,12 +53,14 @@ const generateConfigs = ({
|
||||||
.replace(new RegExp(outlineKeyColor, "g"), outline);
|
.replace(new RegExp(outlineKeyColor, "g"), outline);
|
||||||
|
|
||||||
// Save Schema
|
// Save Schema
|
||||||
|
cursor = path.basename(cursor);
|
||||||
writeSchemaData({
|
writeSchemaData({
|
||||||
path: schemaSvgsPath,
|
path: schemaSvgsPath,
|
||||||
fileName: path.basename(cursor),
|
fileName: cursor,
|
||||||
content
|
content
|
||||||
});
|
});
|
||||||
return schemaSvgsPath;
|
|
||||||
|
return path.resolve(schemaSvgsPath, cursor);
|
||||||
});
|
});
|
||||||
|
|
||||||
const aCursors = animatedCursors.map((cursor: string) => {
|
const aCursors = animatedCursors.map((cursor: string) => {
|
||||||
|
@ -86,13 +88,14 @@ const generateConfigs = ({
|
||||||
}
|
}
|
||||||
|
|
||||||
// Save Schema
|
// Save Schema
|
||||||
|
cursor = path.basename(cursor);
|
||||||
writeSchemaData({
|
writeSchemaData({
|
||||||
path: schemaSvgsPath,
|
path: schemaSvgsPath,
|
||||||
fileName: path.basename(cursor),
|
fileName: cursor,
|
||||||
content
|
content
|
||||||
});
|
});
|
||||||
|
|
||||||
return schemaSvgsPath;
|
return path.resolve(schemaSvgsPath, cursor);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Creating Dir for store bitmaps
|
// Creating Dir for store bitmaps
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue