@covas-labs/electron-vr-prebuilt-win32-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 +1 -1
- package/index.js +9 -4
- package/metadata.json +15 -0
- package/openvr_api.dll +0 -0
- package/package.json +7 -3
- package/vr_bridge.node +0 -0
package/README.md
CHANGED
package/index.js
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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"));
|
package/metadata.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"packageName": "@covas-labs/electron-vr-prebuilt-win32-x64",
|
|
3
|
+
"packageVersion": "0.3.2",
|
|
4
|
+
"runtime": "electron",
|
|
5
|
+
"platform": "win32",
|
|
6
|
+
"arch": "x64",
|
|
7
|
+
"backends": [
|
|
8
|
+
"openxr",
|
|
9
|
+
"openvr",
|
|
10
|
+
"mock"
|
|
11
|
+
],
|
|
12
|
+
"bundledRuntimeLibraries": [
|
|
13
|
+
"openvr_api.dll"
|
|
14
|
+
]
|
|
15
|
+
}
|
package/openvr_api.dll
ADDED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@covas-labs/electron-vr-prebuilt-win32-x64",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
3
|
+
"version": "0.3.2",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "Internal Electron prebuilt addon for win32-x64.",
|
|
5
6
|
"repository": {
|
|
6
7
|
"type": "git",
|
|
7
8
|
"url": "git+https://github.com/COVAS-Labs/electron-vr.git"
|
|
@@ -15,7 +16,10 @@
|
|
|
15
16
|
],
|
|
16
17
|
"files": [
|
|
17
18
|
"index.js",
|
|
18
|
-
"
|
|
19
|
+
"metadata.json",
|
|
20
|
+
"README.md",
|
|
21
|
+
"vr_bridge.node",
|
|
22
|
+
"openvr_api.dll"
|
|
19
23
|
],
|
|
20
24
|
"publishConfig": {
|
|
21
25
|
"registry": "https://registry.npmjs.org",
|
package/vr_bridge.node
ADDED
|
Binary file
|