mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-24 09:52:49 +08:00
fix(electron): should not record affine app itself (#11277)
fix AF-2428
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user