mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
Add how to claim desktop version of beat saber guide
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ export const LoginToMetaModal: ModalComponent<string> = ({ resolver }) => {
|
||||
<p className="font-bold">{t("modals.connect-to-meta.body.token-needed")}</p>
|
||||
<p>{t("modals.connect-to-meta.body.need-cookie-enabled")}</p>
|
||||
|
||||
<p className="text-warning-400">You must own the desktop version of Beat Saber. If you bought it on the standalone store, follow <a className="underline cursor-pointer">this guide</a> to claim it.</p>
|
||||
<p className="text-warning-400">You must own the desktop version of Beat Saber. If you bought it on the standalone store, follow <a className="underline cursor-pointer" href="https://github.com/Zagrios/bs-manager/wiki/how-to-claim-oculus-desktop-version" target="_blank">this guide</a> to claim it.</p>
|
||||
|
||||
<div className="w-full flex flex-row justify-start items-center gap-1.5">
|
||||
<BsmCheckbox className="relative z-[1] w-6 aspect-square" checked={stay} onChange={enable => setStay(() => enable)}/>
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user