@covas-labs/electron-vr-prebuilt-linux-x64 0.0.0-bootstrap.0 → 0.3.2

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
@@ -1,3 +1,3 @@
1
1
  # @covas-labs/electron-vr-prebuilt-linux-x64
2
2
 
3
- Bootstrap placeholder package for npm trusted publishing setup.
3
+ Internal Electron prebuilt addon package for linux-x64.
package/index.js CHANGED
@@ -1,4 +1,9 @@
1
- module.exports = {
2
- bootstrap: true,
3
- message: "Bootstrap placeholder package. Configure trusted publishing, then publish a real tagged release."
4
- };
1
+ const path = require("node:path");
2
+ const packageDir = __dirname;
3
+ if (process.platform === "win32") {
4
+ process.env.PATH = process.env.PATH ? packageDir + ";" + process.env.PATH : packageDir;
5
+ } else if (process.platform === "linux") {
6
+ const currentLdLibraryPath = process.env.LD_LIBRARY_PATH || "";
7
+ process.env.LD_LIBRARY_PATH = currentLdLibraryPath ? packageDir + ":" + currentLdLibraryPath : packageDir;
8
+ }
9
+ module.exports = require(path.join(packageDir, "vr_bridge.node"));
Binary file
Binary file
Binary file
package/metadata.json ADDED
@@ -0,0 +1,17 @@
1
+ {
2
+ "packageName": "@covas-labs/electron-vr-prebuilt-linux-x64",
3
+ "packageVersion": "0.3.2",
4
+ "runtime": "electron",
5
+ "platform": "linux",
6
+ "arch": "x64",
7
+ "backends": [
8
+ "openxr",
9
+ "openvr",
10
+ "mock"
11
+ ],
12
+ "bundledRuntimeLibraries": [
13
+ "libopenvr_api.so",
14
+ "libopenxr_loader.so.1",
15
+ "libjsoncpp.so.25"
16
+ ]
17
+ }
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@covas-labs/electron-vr-prebuilt-linux-x64",
3
- "version": "0.0.0-bootstrap.0",
4
- "description": "Bootstrap placeholder prebuilt package for npm trusted publishing setup.",
3
+ "version": "0.3.2",
4
+ "private": false,
5
+ "description": "Internal Electron prebuilt addon for linux-x64.",
5
6
  "repository": {
6
7
  "type": "git",
7
8
  "url": "git+https://github.com/COVAS-Labs/electron-vr.git"
@@ -15,7 +16,12 @@
15
16
  ],
16
17
  "files": [
17
18
  "index.js",
18
- "README.md"
19
+ "metadata.json",
20
+ "README.md",
21
+ "vr_bridge.node",
22
+ "libopenvr_api.so",
23
+ "libopenxr_loader.so.1",
24
+ "libjsoncpp.so.25"
19
25
  ],
20
26
  "publishConfig": {
21
27
  "registry": "https://registry.npmjs.org",
package/vr_bridge.node ADDED
Binary file