This commit is contained in:
thororen1234 2025-02-07 19:23:42 -05:00
parent dc4e9cf775
commit eefecda52e
7 changed files with 4 additions and 302 deletions

View file

@ -229,6 +229,7 @@ export default definePlugin({
if (IS_DEV) return " (Dev)";
if (IS_WEB) return " (Web)";
if (IS_VESKTOP) return ` (Vesktop v${VesktopNative.app.getVersion()})`;
if (IS_EQUIBOP) return `Equibop v${VesktopNative.app.getVersion()}`;
if (IS_STANDALONE) return " (Standalone)";
return "";
},

View file

@ -315,7 +315,7 @@ export function initWs(isManual = false) {
return reply("Expected exactly one 'find' matches, found " + keys.length);
const mod = candidates[keys[0]];
let src = String(mod.original ?? mod).replaceAll("\n", "");
let src = String(mod).replaceAll("\n", "");
if (src.startsWith("function(")) {
src = "0," + src;