Skip to content

Commit e1be3bb

Browse files
committed
fix: recover icon read
1 parent 2139224 commit e1be3bb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/main/platforms/macos.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,9 @@ export const adapter: AppReader = {
7272
if (!isElectronBased) throw new Error("Not an electron app");
7373

7474
const info = await readPlistFile(path.join(p, "Contents/Info.plist"));
75-
// const icon = await readIcnsAsImageUri(
76-
// path.join(p, "Contents/Resources", info.CFBundleIconFile),
77-
// );
78-
const icon = "";
75+
const icon = await readIcnsAsImageUri(
76+
path.join(p, "Contents/Resources", info.CFBundleIconFile),
77+
);
7978

8079
return {
8180
id: info.CFBundleIdentifier,

0 commit comments

Comments
 (0)