mirror of
https://github.com/zarfadev/MobaXterm-Keygen.git
synced 2026-08-28 22:00:51 +00:00
Merge pull request #11 from hifumi121/main
Add support for version 26 in version check
This commit is contained in:
+2
-2
@@ -398,8 +398,8 @@
|
||||
|
||||
// Check if version is supported
|
||||
const majorVersion = parseInt(this.versionName.split('.')[0]);
|
||||
if (majorVersion !== 20 && majorVersion !== 25) {
|
||||
this.errors.versionName = 'Currently only versions 20.X and 25.X are supported';
|
||||
if (majorVersion !== 20 && majorVersion !== 25 && majorVersion !==26) {
|
||||
this.errors.versionName = 'Currently only versions 20.X, 25.X and 26 are supported';
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user