fix: include openvr library in dotnet expected path

Co-authored-by: rs189 <35667100+rs189@users.noreply.github.com>
This commit is contained in:
Natsumi
2025-08-26 11:32:46 +12:00
parent b3c58a8c08
commit 6b0061bf88
2 changed files with 8 additions and 4 deletions

View File

@@ -125,11 +125,11 @@
},
{
"from": "src-electron/libs/linux/libopenvr_api.so",
"to": "dotnet-runtime/shared/Microsoft.NETCore.App/9.0.7/libopenvr_api.so"
"to": "bin/libopenvr_api.so"
},
{
"from": "src-electron/libs/linux/libopenvr_api.so",
"to": "dotnet-runtime/shared/Microsoft.NETCore.App/9.0.7/openvr_api.so"
"to": "app.asar.unpacked/build/Electron/openvr_api.so"
}
],
"directories": {

View File

@@ -837,8 +837,12 @@ app.whenReady().then(() => {
createTray();
if (process.platform === 'linux') {
createWristOverlayWindowOffscreen();
createHmdOverlayWindowOffscreen();
try {
createWristOverlayWindowOffscreen();
createHmdOverlayWindowOffscreen();
} catch (err) {
console.error('Error creating overlay windows:', err);
}
}
installVRCX();