diff --git a/pandora_console/godmode/um_client/resources/javascript/umc_offline.js b/pandora_console/godmode/um_client/resources/javascript/umc_offline.js index e1642bfc9c..fbd831c994 100644 --- a/pandora_console/godmode/um_client/resources/javascript/umc_offline.js +++ b/pandora_console/godmode/um_client/resources/javascript/umc_offline.js @@ -205,7 +205,9 @@ function form_upload(url, auth, current_package) { let number_update = res.version; let server_update = res.server_update; + let current_version = Math.round(parseFloat(current_package)); let target_version = Math.round(parseFloat(current_package)) + 1; + let target_patch = Math.round(parseFloat(current_package)) + 0.1; if (number_update === null) { umConfirm({ @@ -222,7 +224,11 @@ function form_upload(url, auth, current_package) { cancelUpdate(); } }); - } else if (Math.round(parseFloat(number_update)) != target_version) { + } else if ( + Math.round(parseFloat(number_update)) != target_version || + Math.round(parseFloat(number_update)) != target_patch || + Math.round(parseFloat(number_update)) != current_version + ) { if (ImSureWhatImDoing == undefined || ImSureWhatImDoing == false) { umConfirm({ message: diff --git a/pandora_console/godmode/um_client/views/offline.php b/pandora_console/godmode/um_client/views/offline.php index 28f8556e69..276a355e88 100644 --- a/pandora_console/godmode/um_client/views/offline.php +++ b/pandora_console/godmode/um_client/views/offline.php @@ -84,8 +84,8 @@ 'ignoresign': "", 'verifysigntitle': "", 'verifysigns': "", - 'notGoingToInstallUnoficialServerWarning': "", - 'notGoingToInstallUnoficialWarning': "", + 'notGoingToInstallUnoficialServerWarning': "", + 'notGoingToInstallUnoficialWarning': "", } var insecureMode = ;