fix patch

This commit is contained in:
AMIAY
2026-01-24 12:05:10 +01:00
parent 61bcdf9413
commit c900129c1f

View File

@@ -249,13 +249,8 @@ class ClientPatcher {
return { success: false, error }; return { success: false, error };
} }
if (this.isPatchedAlready(clientPath)) { // FORCE PATCHING: Always patch, never skip
console.log(`Client already patched for ${newDomain}, skipping`); console.log(`Force patching client for ${newDomain}`);
if (progressCallback) {
progressCallback('Client already patched', 100);
}
return { success: true, alreadyPatched: true, patchCount: 0 };
}
if (progressCallback) { if (progressCallback) {
progressCallback('Preparing to patch client...', 10); progressCallback('Preparing to patch client...', 10);
@@ -325,13 +320,8 @@ class ClientPatcher {
return { success: false, error }; return { success: false, error };
} }
if (this.isPatchedAlready(serverPath)) { // FORCE PATCHING: Always patch, never skip
console.log(`Server already patched for ${newDomain}, skipping`); console.log(`Force patching server for ${newDomain}`);
if (progressCallback) {
progressCallback('Server already patched', 100);
}
return { success: true, alreadyPatched: true, patchCount: 0 };
}
if (progressCallback) { if (progressCallback) {
progressCallback('Preparing to patch server...', 10); progressCallback('Preparing to patch server...', 10);