Open victordejong opened 1 month ago
Hi @kpcyrd , thanks a lot for the quick review. Whenever you have time, let me know what you think about the rest of the items for this PR, I'm especially curious what you think about the security implications of this feature.
This PR allows users to configure an executable hook, to be ran after each upstream Spotify update. The hook is blocking, and Spotify will not start before the hook has exited.
This PR implements issue #45.
This PR is a Work in Progress, as I want to discuss and check a couple of things before moving forward:
Current behaviour is to ignore script return codes. Is this desired?The user will now be warned about a non-zero exit code.Currently when facing execution errors, such as permission denied or missing executable, the main thread panics. We should probably handle this more gracefully, but do we want to exit or continue launching Spotify?Just a warning is logged, but the script now does not block the launch of Spotify.Should there be any other notable issues, let me know.