A working implementation of cwd_of_process for FreeBSD

This commit is contained in:
Kovid Goyal
2022-04-12 22:06:46 +05:30
parent c9ef4aa8c8
commit 587f44ad4e
2 changed files with 18 additions and 5 deletions

View File

@@ -26,6 +26,7 @@ version: Version = Version(0, 25, 0)
str_version: str = '.'.join(map(str, version))
_plat = sys.platform.lower()
is_macos: bool = 'darwin' in _plat
is_freebsd: bool = 'freebsd' in _plat
is_running_from_develop: bool = False
if getattr(sys, 'frozen', False):
extensions_dir: str = getattr(sys, 'kitty_extensions_dir')