Merge branch 'master' into add-ua-locale

This commit is contained in:
MathieuG-P
2025-02-08 16:39:10 +01:00
committed by GitHub
3 changed files with 104 additions and 20 deletions
@@ -106,10 +106,10 @@ export class BSLocalVersionService {
const versionFilePath = path.join(bsPath, 'Beat Saber_Data', 'globalgamemanagers');
const folderVersion = await this.getVersionFromGlobalGameManagerFile(versionFilePath);
folderVersion.path = bsPath;
if(!folderVersion){ return null; }
folderVersion.path = bsPath;
if(options?.steam || options?.oculus){
return {...folderVersion, ...options};
}