Skip to content

Commit

Permalink
feat: support custom imageoptim app path
Browse files Browse the repository at this point in the history
  • Loading branch information
Ninnka committed Jan 8, 2024
1 parent df98a86 commit e84a22b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const PNGQUANT_NUMBER_OF_COLORS = '256';
export const PNGQUANT_QUALITY = '65-80';
export const PNGQUANT_SPEED = '1';
export const PNGQUANT_BIN_PATH = '/Applications/ImageAlpha.app/Contents/MacOS/pngquant';
export const IMAGEOPTIM_BIN_PATH = '/Applications/ImageOptim.app/Contents/MacOS/ImageOptim';
export const IMAGEOPTIM_BIN_PATH = process.env.imageoptim_app || '/Applications/ImageOptim.app/Contents/MacOS/ImageOptim';

export const HOMEPAGE_URL = 'https://github.com/JamieMason/ImageOptim-CLI';
export const ASSISTIVE_DEVICES_URL = `${HOMEPAGE_URL}/#%EF%B8%8F-jpegmini-and-support-for-assistive-devices`;
Expand Down

0 comments on commit e84a22b

Please sign in to comment.