mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-06-08 10:22:38 -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 { generateConfigs } from "./helpers/schema";
|
||||||
import { colorSchemes, bitmapsPath } from "./color";
|
import { colorSchemes, bitmapsPath } from "./color";
|
||||||
|
|
||||||
(async () => {
|
const main = async () => {
|
||||||
const prefix = "Bibata-Round";
|
const prefix = "Bibata-Round";
|
||||||
|
|
||||||
const configs = generateConfigs(colorSchemes, prefix);
|
const configs = generateConfigs(colorSchemes, prefix);
|
||||||
|
@ -20,11 +20,13 @@ import { colorSchemes, bitmapsPath } from "./color";
|
||||||
|
|
||||||
spinner.succeed();
|
spinner.succeed();
|
||||||
}
|
}
|
||||||
console.log(`🎉 Bitmaps stored at ${bitmapsPath}`);
|
console.log(`🎉 Bitmaps stored at ${chalk.greenBright(bitmapsPath)}`);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
spinner.fail();
|
spinner.fail();
|
||||||
console.error(error);
|
console.error(error);
|
||||||
} finally {
|
} finally {
|
||||||
process.exit(0);
|
process.exit(0);
|
||||||
}
|
}
|
||||||
})();
|
};
|
||||||
|
|
||||||
|
main();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue