[chore] Oculus backup is now automatically restored when Beat Saber closes

This commit is contained in:
MathieuG-P
2024-03-06 10:06:27 +01:00
parent 59c624d58d
commit d028e144fc
13 changed files with 36 additions and 57 deletions
-7
View File
@@ -37,10 +37,3 @@ ipc.on<void>("bs-launch.restore-steamvr", (_, reply) => {
const steamLauncher = SteamLauncherService.getInstance();
reply(from(steamLauncher.restoreSteamVR()));
});
ipc.on<void>("restore-original-oculus-folder", (_, reply) => {
const oculusLauncher = OculusLauncherService.getInstance();
reply(from(
oculusLauncher.deleteBsSymlinks().then(() => oculusLauncher.restoreOriginalBeatSaber())
));
})