mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-23 11:36:55 -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);
|
||||
|
||||
// Save Schema
|
||||
cursor = path.basename(cursor);
|
||||
writeSchemaData({
|
||||
path: schemaSvgsPath,
|
||||
fileName: path.basename(cursor),
|
||||
fileName: cursor,
|
||||
content
|
||||
});
|
||||
return schemaSvgsPath;
|
||||
|
||||
return path.resolve(schemaSvgsPath, cursor);
|
||||
});
|
||||
|
||||
const aCursors = animatedCursors.map((cursor: string) => {
|
||||
|
@ -86,13 +88,14 @@ const generateConfigs = ({
|
|||
}
|
||||
|
||||
// Save Schema
|
||||
cursor = path.basename(cursor);
|
||||
writeSchemaData({
|
||||
path: schemaSvgsPath,
|
||||
fileName: path.basename(cursor),
|
||||
fileName: cursor,
|
||||
content
|
||||
});
|
||||
|
||||
return schemaSvgsPath;
|
||||
return path.resolve(schemaSvgsPath, cursor);
|
||||
});
|
||||
|
||||
// Creating Dir for store bitmaps
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue