iquercorb / OpenModMan

Open Mod Manager - Open source and generic Mod ("Modifications") manager.
GNU General Public License v3.0
88 stars 5 forks source link

When there are point before the version suffix it will not detect it correctly #24

Closed retroluxfilm closed 2 years ago

retroluxfilm commented 2 years ago

When a package is named Like: AMS.Ferrari.GT1.Challenge.[GTR2 PHYSICS].v1

The version will not get detected when there are points before the version suffix. Removing the points will fix it on the package.

iquercorb commented 2 years ago

Well, currently only space, minus and underscore characters are considered as valid separators for version (to identify the V as not part of a the name). I suppose I can add the dot without risk...

retroluxfilm commented 2 years ago

Yeah i dont know why a few modders used points in the package names... but I guess it should work when searchig for the last "_v" of the package name and then try to parse the stuff behind it for the version number.

iquercorb commented 2 years ago

Added dot as authorized delimiter/separator for version string