tribler

Submodules

Functions

get_webui_root(→ pathlib.Path)

Get the location of the "ui" directory.

Package Contents

tribler.get_webui_root() pathlib.Path

Get the location of the “ui” directory.

When compiled through PyInstaller, the ui directory changes. When running from source or when using cx_Freeze, we can use the __file__.