As per title, this PR allows older versions of proton to work with protonfixes.
This is achieved via a proxy class that redirects attribute access to legacy proton attributes.
While this does not guarantee a 1:1 mapping between the old and new proton, it allows all the current functionality of util.py to work.
Due to the way that the redirect is accomplished if a future version of protonfixes wishes to drop support for older versions of proton all that is required is to remove the protonmain_compat import and use
As per title, this PR allows older versions of proton to work with protonfixes. This is achieved via a proxy class that redirects attribute access to legacy proton attributes. While this does not guarantee a 1:1 mapping between the old and new proton, it allows all the current functionality of
util.py
to work. Due to the way that the redirect is accomplished if a future version of protonfixes wishes to drop support for older versions of proton all that is required is to remove theprotonmain_compat
import and use