gm-plugkit 2.0.1155 → 2.0.1156

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": "gm-plugkit",
3
- "version": "2.0.1155",
3
+ "version": "2.0.1156",
4
4
  "description": "Bootstrap and daemon-spawn tool for gm plugkit binary. Downloads the correct platform binary, verifies SHA256, and starts the spool watcher daemon. Includes plugkit-wasm-wrapper for WASM-based spool watching.",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -4,10 +4,17 @@ import os from 'os';
4
4
  import crypto from 'crypto';
5
5
  import https from 'https';
6
6
  import { watch } from 'fs';
7
- import { spawn, spawnSync } from 'child_process';
7
+ import { spawn as _rawSpawn, spawnSync as _rawSpawnSync } from 'child_process';
8
8
  import net from 'net';
9
9
  import { fileURLToPath } from 'url';
10
10
 
11
+ function spawnSync(cmd, args, opts) {
12
+ return _rawSpawnSync(cmd, args, { windowsHide: true, ...(opts || {}) });
13
+ }
14
+ function spawn(cmd, args, opts) {
15
+ return _rawSpawn(cmd, args, { windowsHide: true, ...(opts || {}) });
16
+ }
17
+
11
18
  const __filename = fileURLToPath(import.meta.url);
12
19
  const __dirname = path.dirname(__filename);
13
20