pi-landstrip 0.19.16 → 0.19.18

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.
Files changed (2) hide show
  1. package/dist/index.ts +3 -1
  2. package/package.json +2 -2
package/dist/index.ts CHANGED
@@ -5904,6 +5904,8 @@ var WINDOWS_LAUNCHER_ENVIRONMENT = [
5904
5904
  "PATHEXT"
5905
5905
  ];
5906
5906
  function createLandstripLauncherEnvironment(providerEnv, hostEnv = process.env, platform = process.platform) {
5907
+ if (platform === "linux")
5908
+ return { ...providerEnv, APPIMAGE_EXTRACT_AND_RUN: "1" };
5907
5909
  if (platform !== "win32")
5908
5910
  return providerEnv;
5909
5911
  const result = { ...providerEnv };
@@ -6549,7 +6551,7 @@ ${paths}${note}`, PERMISSION_OPTIONS, promptSignal);
6549
6551
  const child = spawn2(binaryPath(), landstripArgs, {
6550
6552
  ...spawnOptions,
6551
6553
  cwd: options.cwd,
6552
- env: workerEnv,
6554
+ env: createLandstripLauncherEnvironment(workerEnv),
6553
6555
  detached: true,
6554
6556
  stdio
6555
6557
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-landstrip",
3
- "version": "0.19.16",
3
+ "version": "0.19.18",
4
4
  "description": "Sandboxed Bash and process-backed agents for Pi",
5
5
  "keywords": [
6
6
  "landstrip",
@@ -39,7 +39,7 @@
39
39
  "ci:test": "npm run test"
40
40
  },
41
41
  "dependencies": {
42
- "@landstrip/landstrip-api": "^0.19.16",
42
+ "@landstrip/landstrip-api": "^0.19.18",
43
43
  "jsonc-parser": "^3.3.1",
44
44
  "minimatch": "^10.2.5",
45
45
  "undici": "^8.9.0",