mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 06:32:05 -08:00
19 lines
387 B
Python
19 lines
387 B
Python
"""
|
|
Camoufox version constants.
|
|
"""
|
|
|
|
|
|
class CONSTRAINTS:
|
|
"""
|
|
The minimum and maximum supported versions of the Camoufox browser.
|
|
"""
|
|
|
|
MIN_VERSION = 'beta.17'
|
|
MAX_VERSION = '1'
|
|
|
|
@staticmethod
|
|
def as_range() -> str:
|
|
"""
|
|
Returns the version range as a string.
|
|
"""
|
|
return f">={CONSTRAINTS.MIN_VERSION}, <{CONSTRAINTS.MAX_VERSION}"
|