mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 13:02:04 -08:00
- Enable bf cache with `enable_cache=True` #74 - Font spacing is now fixed per session #63 - Re-download (or raise error) when target install path is empty. Caused when the user cancels the download. - Bumped minimum version to beta.15
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.15'
|
|
MAX_VERSION = '1'
|
|
|
|
@staticmethod
|
|
def as_range() -> str:
|
|
"""
|
|
Returns the version range as a string.
|
|
"""
|
|
return f">={CONSTRAINTS.MIN_VERSION}, <{CONSTRAINTS.MAX_VERSION}"
|