mirror of
https://git.sanhost.net/sanasol/hytale-f2p
synced 2026-02-26 09:21:48 -03:00
fix patch
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user