diff --git a/docs/wiki/Guides/Login/How-to-obtain-your-Oculus-Token/How-to-obtain-your-Oculus-Token.md b/docs/wiki/Guides/Login/How-to-obtain-your-Oculus-Token/How-to-obtain-your-Oculus-Token.md index 2d967e14b..294856ac1 100644 --- a/docs/wiki/Guides/Login/How-to-obtain-your-Oculus-Token/How-to-obtain-your-Oculus-Token.md +++ b/docs/wiki/Guides/Login/How-to-obtain-your-Oculus-Token/How-to-obtain-your-Oculus-Token.md @@ -18,7 +18,7 @@ 2. Install the Oculus Rift app on your computer. > [!NOTE] ->__If you bought Beat Saber from the Quest store, it won't appear in your Rift library by default. To download it with [BSManager](https://www.bsmanager.io), first claim it from its store page.__ +>__If you bought Beat Saber from the Quest store, it won't appear in your Rift library by default. To download it with [BSManager](https://www.bsmanager.io), first follow [this guide](https://github.com/Zagrios/bs-manager/wiki/how-to-claim-oculus-desktop-version) claim it from its store page.__ ## Step 2 - Open developer tools diff --git a/docs/wiki/Guides/Login/how-to-claim-oculus-desktop-version/claimOculusDesktopVersion.png b/docs/wiki/Guides/Login/how-to-claim-oculus-desktop-version/claimOculusDesktopVersion.png new file mode 100644 index 000000000..7dee8c06d Binary files /dev/null and b/docs/wiki/Guides/Login/how-to-claim-oculus-desktop-version/claimOculusDesktopVersion.png differ diff --git a/docs/wiki/Guides/Login/how-to-claim-oculus-desktop-version/how-to-claim-oculus-desktop-version.md b/docs/wiki/Guides/Login/how-to-claim-oculus-desktop-version/how-to-claim-oculus-desktop-version.md new file mode 100644 index 000000000..c49d5c233 --- /dev/null +++ b/docs/wiki/Guides/Login/how-to-claim-oculus-desktop-version/how-to-claim-oculus-desktop-version.md @@ -0,0 +1,21 @@ +## Table of Contents + +- [Step 1 - Install and log into the Oculus Rift app](#step-1---install-and-log-into-the-oculus-rift-app) +- [Step 2 - Claim your desktop version of Beat Saber](#step-2---claim-your-desktop-version-of-beat-saber) + + +## Step 1 - Install and log into the Oculus Rift app + +1. Download the Oculus Rift app setup from the [Meta website](https://www.oculus.com/rift/setup/). +2. Install the Oculus Rift app on your computer. + +## Step 2 - Claim your desktop version of Beat Saber + +1. Open the Oculus app. +2. Go to the __`Store`__ tab. +3. Search for __`Beat Saber`__. +4. Click on the __`Get`__ button to claim the game. + +
+ claimOculusDesktopVersion.png +
diff --git a/src/renderer/components/modal/modal-types/bs-downgrade/login-to-meta-modal.component.tsx b/src/renderer/components/modal/modal-types/bs-downgrade/login-to-meta-modal.component.tsx index 1ee1d59a6..7acdc764d 100644 --- a/src/renderer/components/modal/modal-types/bs-downgrade/login-to-meta-modal.component.tsx +++ b/src/renderer/components/modal/modal-types/bs-downgrade/login-to-meta-modal.component.tsx @@ -60,7 +60,7 @@ export const LoginToMetaModal: ModalComponent = ({ resolver }) => {

{t("modals.connect-to-meta.body.token-needed")}

{t("modals.connect-to-meta.body.need-cookie-enabled")}

-

You must own the desktop version of Beat Saber. If you bought it on the standalone store, follow this guide to claim it.

+

You must own the desktop version of Beat Saber. If you bought it on the standalone store, follow this guide to claim it.

setStay(() => enable)}/> diff --git a/src/renderer/services/bs-version-download/oculus-downloader.service.ts b/src/renderer/services/bs-version-download/oculus-downloader.service.ts index dda0c3eaf..15a33642f 100644 --- a/src/renderer/services/bs-version-download/oculus-downloader.service.ts +++ b/src/renderer/services/bs-version-download/oculus-downloader.service.ts @@ -51,7 +51,9 @@ export class OculusDownloaderService extends AbstractBsDownloaderService impleme const notificationData: Notification = {title: "notifications.types.error", desc: `notifications.bs-download.oculus-download.errors.msg.${err.code}`, duration: 9000}; if(err.code === OculusDownloaderErrorCodes.DOWNLOAD_MANIFEST_FAILED){ notificationData.actions = [{ id: "0", title: "Claim your desktop version" }] - return this.notifications.notifyError(notificationData).then(action => action === "0" && this.linkOpener.open("")) + return this.notifications.notifyError(notificationData).then(action => ( + action === "0" && this.linkOpener.open("https://github.com/Zagrios/bs-manager/wiki/how-to-claim-oculus-desktop-version") + )); } return this.notifications.notifyError({title: "notifications.types.error", desc: `notifications.bs-download.oculus-download.errors.msg.${err.code}`}).then(noop);