plugin(MSE): logs fix (#264)
Some checks are pending
Test / Test (push) Waiting to run

This commit is contained in:
vMohammad 2025-05-17 16:40:21 +03:00 committed by GitHub
parent 317916a5b1
commit ef086f24ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -89,7 +89,7 @@ export async function exportLogs() {
const messages = await getAllMessagesIDB();
const data = JSON.stringify({ messages }, null, 2);
if (IS_WEB || IS_VESKTOP) {
if (IS_WEB || IS_VESKTOP || IS_EQUIBOP || !DiscordNative) {
const file = new File([data], filename, { type: "application/json" });
const a = document.createElement("a");
a.href = URL.createObjectURL(file);