fix(electron): should not record affine app itself (#11277)

fix AF-2428
This commit is contained in:
pengx17
2025-03-29 11:56:43 +00:00
parent a94bef6738
commit 61b3f82bfe

View File

@@ -389,6 +389,7 @@ function getAllApps(): TappableAppInfo[] {
(v): v is TappableAppInfo =>
v !== null &&
!v.bundleIdentifier.startsWith('com.apple') &&
!v.bundleIdentifier.startsWith('pro.affine') &&
v.processId !== process.pid
);
return filteredApps;