diff --git a/modules/renderer/components/TargetTypeSelect.tsx b/modules/renderer/components/TargetTypeSelect.tsx index bae7db0..b832a1a 100644 --- a/modules/renderer/components/TargetTypeSelect.tsx +++ b/modules/renderer/components/TargetTypeSelect.tsx @@ -1,3 +1,4 @@ +import * as os from 'os' import * as React from 'react' import { connect } from 'react-redux' import { IState } from '../store/reducer' @@ -20,7 +21,15 @@ class TargetTypeSelect extends React.PureComponent { render() { const { sourceExt, targetExt, imageMagickInstalled } = this.props - const PNGDisabled = sourceExt === SupportedExt.jpg && !imageMagickInstalled + + /** + * on the Mac, pngquant can read JPEG, so we don't need ImageMagick + * on other systems, ImageMagick should be installed independently + */ + const PNGDisabled = + os.platform() !== 'darwin' && + sourceExt === SupportedExt.jpg && + !imageMagickInstalled return (