mirror of
https://github.com/daijro/camoufox.git
synced 2026-08-21 08:01:06 +00:00
d6540b52ce
* example files * contributing guides * simple service test * run tests in sync * update pr template * pip updates * Update README.md * typo fixes * undo pip package update lol * upgraded service test * undo injections * test with proxies * auto set timezone and proxy url * delete checks bundle * split up service tests * split up build tests * rename service tests to service tester * Update CONTRIBUTING.md * fix entry vs exit ip * allow alpha versions * fix patch issues on macos * bidirectional patch * Add note on experimental pip package
20 lines
387 B
Python
20 lines
387 B
Python
"""
|
|
Camoufox version constants.
|
|
"""
|
|
|
|
|
|
class CONSTRAINTS:
|
|
"""
|
|
The minimum and maximum supported versions of the Camoufox browser.
|
|
"""
|
|
|
|
MIN_VERSION = 'alpha.1'
|
|
MAX_VERSION = '1'
|
|
|
|
@staticmethod
|
|
def as_range() -> str:
|
|
"""
|
|
Returns the version range as a string.
|
|
"""
|
|
return f">={CONSTRAINTS.MIN_VERSION}, <{CONSTRAINTS.MAX_VERSION}"
|