mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-23 20:18:42 +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): v is TappableAppInfo =>
|
||||||
v !== null &&
|
v !== null &&
|
||||||
!v.bundleIdentifier.startsWith('com.apple') &&
|
!v.bundleIdentifier.startsWith('com.apple') &&
|
||||||
|
!v.bundleIdentifier.startsWith('pro.affine') &&
|
||||||
v.processId !== process.pid
|
v.processId !== process.pid
|
||||||
);
|
);
|
||||||
return filteredApps;
|
return filteredApps;
|
||||||
|
|||||||
Reference in New Issue
Block a user