Skip to content

Commit 2b6d8bd

Browse files
committed
Fix detection of flatpak obs among other things
1 parent cff29b7 commit 2b6d8bd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/process/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,6 @@ export default class ProcessServer {
167167
// log(`got processes list in ${(performance.now() - startTime).toFixed(2)}ms`);
168168

169169
for (const { pid, exe: _path, args, cwd: _cwdPath = "" } of processes) {
170-
if (pid === 1) continue; // init system
171-
if (_path.length < 6) continue;
172170
// eslint-disable-next-line no-undef
173171
if (shouldIgnoreProcess(_path, process.platform)) continue;
174172

0 commit comments

Comments
 (0)