diff --git a/src/main/utils/icon.ts b/src/main/utils/icon.ts index 72c553e..38846b6 100644 --- a/src/main/utils/icon.ts +++ b/src/main/utils/icon.ts @@ -107,7 +107,8 @@ async function findDesktopFile(appPath: string): Promise { execCmd === appPath || execBasename === execName || execCmd.endsWith(appPath) || - appPath.endsWith(execBasename) + appPath.endsWith(execBasename) || + path.basename(file, '.desktop') === execName ) { return fullPath }