Skip to content

Commit

Permalink
fix(jpegmini): add com.beamr.jpegminipro.app
Browse files Browse the repository at this point in the history
Fixes #187
  • Loading branch information
JamieMason committed Nov 13, 2021
1 parent dae85f9 commit ed5e112
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/applescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
JPEGMINI_LITE,
JPEGMINI_LITE_RETAIL,
JPEGMINI_PRO,
JPEGMINI_PRO_BEAMR,
JPEGMINI_PRO_RETAIL,
JPEGMINI_RETAIL,
TMPDIR,
Expand Down Expand Up @@ -40,4 +41,6 @@ export const getJpegMini = async (): Promise<IApp | null> =>
? JPEGMINI_LITE
: (await isInstalled(JPEGMINI_LITE_RETAIL))
? JPEGMINI_LITE_RETAIL
: (await isInstalled(JPEGMINI_PRO_BEAMR))
? JPEGMINI_PRO_BEAMR
: null;
6 changes: 6 additions & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@ export const JPEGMINI_PRO: IApp = {
supports: supports.jpegmini,
};

export const JPEGMINI_PRO_BEAMR: IApp = {
bundleId: 'com.beamr.jpegminipro.app',
name: 'JPEGmini Pro',
supports: supports.jpegmini,
};

export const JPEGMINI_PRO_RETAIL: IApp = {
bundleId: 'com.icvt.JPEGmini-Pro-retail',
name: 'JPEGmini Pro',
Expand Down

0 comments on commit ed5e112

Please sign in to comment.