actuallymentor / battery

CLI/GUI for managing the battery charging status for Apple silicon (M1, M32, M3) Macs
MIT License
3.88k stars 165 forks source link

Update afterSign.js #310

Open Chanduporalla opened 1 month ago

Chanduporalla commented 1 month ago

The changes enhance the notarization script by adding checks for environment variables, improving error handling with a try...catch block, and providing clear log messages. These updates ensure that the notarization process is more robust, secure, and easier to debug, following best practices for better error management and code clarity.