@landstrip/landstrip-api 0.19.15 → 0.19.17

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/README.md CHANGED
@@ -46,4 +46,4 @@ Run `make ci` from the repository root.
46
46
  ## License
47
47
 
48
48
  [Apache-2.0](LICENSE); bundled native binaries are
49
- [LGPL-3.0-or-later](../landstrip/LICENSE).
49
+ [LGPL-2.1-or-later](../landstrip/LICENSE).
package/bin/landstrip.js CHANGED
@@ -8,7 +8,11 @@ const { binaryPath } = require('../lib');
8
8
  let child;
9
9
 
10
10
  try {
11
- child = spawn(binaryPath(), process.argv.slice(2), { stdio: 'inherit' });
11
+ const options = { stdio: 'inherit' };
12
+ if (process.platform === 'linux') {
13
+ options.env = { ...process.env, APPIMAGE_EXTRACT_AND_RUN: '1' };
14
+ }
15
+ child = spawn(binaryPath(), process.argv.slice(2), options);
12
16
  } catch (error) {
13
17
  console.error(error.message);
14
18
  process.exit(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@landstrip/landstrip-api",
3
- "version": "0.19.15",
3
+ "version": "0.19.17",
4
4
  "description": "Sandbox runner using Landlock, Seatbelt, and AppContainer",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/landstrip/landstrip#readme",
@@ -40,12 +40,12 @@
40
40
  "ipaddr.js": "^2.5.0"
41
41
  },
42
42
  "optionalDependencies": {
43
- "@landstrip/landstrip-darwin-arm64": "0.19.15",
44
- "@landstrip/landstrip-darwin-x64": "0.19.15",
45
- "@landstrip/landstrip-linux-x64": "0.19.15",
46
- "@landstrip/landstrip-linux-arm64": "0.19.15",
47
- "@landstrip/landstrip-win32-x64": "0.19.15",
48
- "@landstrip/landstrip-win32-arm64": "0.19.15"
43
+ "@landstrip/landstrip-darwin-arm64": "0.19.17",
44
+ "@landstrip/landstrip-darwin-x64": "0.19.17",
45
+ "@landstrip/landstrip-linux-x64": "0.19.17",
46
+ "@landstrip/landstrip-linux-arm64": "0.19.17",
47
+ "@landstrip/landstrip-win32-x64": "0.19.17",
48
+ "@landstrip/landstrip-win32-arm64": "0.19.17"
49
49
  },
50
50
  "publishConfig": {
51
51
  "access": "public"