From 4d26a85b2f3ae554d25fa0d26ce39a2c2c4165e3 Mon Sep 17 00:00:00 2001 From: verticalsync <60797172+verticalsync@users.noreply.github.com> Date: Mon, 29 Jul 2024 22:22:19 +0300 Subject: [PATCH] show equibop if on sunroof --- src/Vencord.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Vencord.ts b/src/Vencord.ts index 68e3c7fc..a2d43a52 100644 --- a/src/Vencord.ts +++ b/src/Vencord.ts @@ -91,12 +91,14 @@ async function init() { syncSettings(); + const equiName = IS_VESKTOP ? "Equibop" : "Equicord"; + Alerts.show({ title: "Suncord End Of Life", body: "Suncord has gone EOL. Because I don't always have the time to keep up with what people suggest or such and it's easier for me to work on Equicord with other people, the source and everything will stay here and you can still use it, but it'll probably become outdated after some time and break.", - confirmText: "Switch to Equicord", + confirmText: `Switch to ${equiName}`, cancelText: "Ignore", - onConfirm: () => { VencordNative.native.openExternal("https://github.com/Equicord/Equicord"); } + onConfirm: () => { VencordNative.native.openExternal(`https://github.com/Equicord/${equiName}`); } }); if (!IS_WEB && !IS_UPDATER_DISABLED) {