Currently, I utilize the PowerPoint for the PPT_to_PDF() export option to make pptx to PDFs and save them.
We need to add a check based on OS in the script and add the support for other OS.
Being Unix-based systems, I think implementation for both of them can be kept the same. (Although I would appreciate if someone with access to MacOs could confirm this)