mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-06-06 09:31:29 -04:00
🚀 Main function
This commit is contained in:
parent
72b2cd7bb7
commit
7d6bf0aad3
1 changed files with 5 additions and 3 deletions
|
@ -4,7 +4,7 @@ import { renderCursors, spinner } from "common";
|
|||
import { generateConfigs } from "./helpers/schema";
|
||||
import { colorSchemes, bitmapsPath } from "./color";
|
||||
|
||||
(async () => {
|
||||
const main = async () => {
|
||||
const prefix = "Bibata-Round";
|
||||
|
||||
const configs = generateConfigs(colorSchemes, prefix);
|
||||
|
@ -20,11 +20,13 @@ import { colorSchemes, bitmapsPath } from "./color";
|
|||
|
||||
spinner.succeed();
|
||||
}
|
||||
console.log(`🎉 Bitmaps stored at ${bitmapsPath}`);
|
||||
console.log(`🎉 Bitmaps stored at ${chalk.greenBright(bitmapsPath)}`);
|
||||
} catch (error) {
|
||||
spinner.fail();
|
||||
console.error(error);
|
||||
} finally {
|
||||
process.exit(0);
|
||||
}
|
||||
})();
|
||||
};
|
||||
|
||||
main();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue