@meyverick/omnicode 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meyverick/omnicode",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "Ubuntu command-line entrypoint for OpenCode through OmniRoute",
5
5
  "type": "module",
6
6
  "bin": {
@@ -4,6 +4,7 @@ import { join } from "node:path";
4
4
 
5
5
  import { commandExists, getDataDir, isProcessRunning, isPidAlive } from "../installer/lib.js";
6
6
 
7
+ const isWindows = process.platform === "win32";
7
8
  const MAX_OMNI_WAIT = 30;
8
9
  const OMNI_CHECK_DELAY = 1000;
9
10
 
@@ -28,7 +28,7 @@ export function isProcessRunning(name) {
28
28
  }
29
29
  return false;
30
30
  }
31
- execFileSync("pgrep", ["-x", name], { stdio: "ignore" });
31
+ execFileSync("pgrep", ["-f", name], { stdio: "ignore" });
32
32
  return true;
33
33
  } catch {
34
34
  return false;