mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
fix: test bundle ovr lib
This commit is contained in:
BIN
src-electron/libs/linux/libopenvr_api.so
Normal file
BIN
src-electron/libs/linux/libopenvr_api.so
Normal file
Binary file not shown.
@@ -26,6 +26,11 @@ if (process.platform === 'linux') {
|
||||
process.env.DOTNET_ROOT = bundledDotNetPath;
|
||||
process.env.PATH = `${bundledDotNetPath}:${process.env.PATH}`;
|
||||
}
|
||||
|
||||
const openvrLibPath = path.join(process.resourcesPath, '..', 'bin');
|
||||
if (fs.existsSync(openvrLibPath)) {
|
||||
process.env.LD_LIBRARY_PATH = `${openvrLibPath}:${process.env.LD_LIBRARY_PATH || ''}`;
|
||||
}
|
||||
} else if (process.platform === 'darwin') {
|
||||
const dotnetPath = path.join('/usr/local/share/dotnet');
|
||||
const dotnetPathArm = path.join('/usr/local/share/dotnet/x64');
|
||||
|
||||
Reference in New Issue
Block a user