Skip to content

Commit

Permalink
fix: recover icon read
Browse files Browse the repository at this point in the history
  • Loading branch information
pd4d10 committed May 5, 2024
1 parent 2139224 commit e1be3bb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/main/platforms/macos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,9 @@ export const adapter: AppReader = {
if (!isElectronBased) throw new Error("Not an electron app");

const info = await readPlistFile(path.join(p, "Contents/Info.plist"));
// const icon = await readIcnsAsImageUri(
// path.join(p, "Contents/Resources", info.CFBundleIconFile),
// );
const icon = "";
const icon = await readIcnsAsImageUri(
path.join(p, "Contents/Resources", info.CFBundleIconFile),
);

return {
id: info.CFBundleIdentifier,
Expand Down

0 comments on commit e1be3bb

Please sign in to comment.