improve cards getting updated, move bind size to 50 mb and also fix custom css for some pages

This commit is contained in:
KingKDot
2026-04-08 19:47:38 -05:00
parent d37355ffaa
commit 3da598369d
6 changed files with 209 additions and 167 deletions
+2 -2
View File
@@ -702,7 +702,7 @@ if (cloneExeUpload) {
}
const MAX_BIND_FILES = 5;
const MAX_BIND_FILE_BYTES = 10 * 1024 * 1024; // 10 MB
const MAX_BIND_FILE_BYTES = 50 * 1024 * 1024; // 50 MB
let boundFiles = []; // { name, base64, targetOS: string[], execute: boolean }
@@ -796,7 +796,7 @@ if (bindFileInput) {
return;
}
if (file.size > MAX_BIND_FILE_BYTES) {
alert(`Each bound file must be under 10 MB. "${file.name}" is too large.`);
alert(`Each bound file must be under 50 MB. "${file.name}" is too large.`);
return;
}
const safeName = sanitizeBindName(file.name);