Aggregate all the version-related functions of protonmain_compat.py and utils.py into protonversion.py
Improve version retrieval and checking by using the version file for both timestamp and release version (as it is more accurate than CURRENT_PREFIX_VERSION)
Implement DeprecatedSince decorator, when applied to a function and given a suitable version either in timestamp form (int) or version form (string) it will execute the function only if the version is lower (excluding) than the one specified, should be useful in cases outlined here
Aggregate all the version-related functions of
protonmain_compat.py
andutils.py
intoprotonversion.py
Improve version retrieval and checking by using theversion
file for both timestamp and release version (as it is more accurate thanCURRENT_PREFIX_VERSION
) ImplementDeprecatedSince
decorator, when applied to a function and given a suitable version either in timestamp form (int) or version form (string) it will execute the function only if the version is lower (excluding) than the one specified, should be useful in cases outlined here