I've tested this now on macOS where writing to the badge works but afterwards the CLI just decides to hang indefinitely and not exit as expected. USB works flawlessly :)
I will be able to look into the hang issue after writing on macOS and test on Windows sometimes in the beginning of next week.
Originally posted by @hlxid in https://github.com/fossasia/badgemagic-rs/issues/16#issuecomment-2263920293