diff --git a/.gitignore b/.gitignore index 8a8834e..0433fa8 100644 --- a/.gitignore +++ b/.gitignore @@ -32,3 +32,4 @@ src/launcher/save.json src/themes/classic_en/__pycache__/resource_rc.cpython-38.pyc src/themes/classic_ru/__pycache__/resource_rc.cpython-38.pyc src/themes/dark/__pycache__/resource_rc.cpython-38.pyc +src/launcher/build/launcher/launcher.pkg diff --git a/src/client/VMM.py b/src/client/VMM.py index b872fd1..3653de2 100644 --- a/src/client/VMM.py +++ b/src/client/VMM.py @@ -870,8 +870,8 @@ def comboModsChanged(self, text): def main(): - # Adding ".." to the PYTHONPATH for themes folder (resource_rc.py files) - # can be deleted actually because client version has themes in "." which is in path and for developers pycharm adds ".." to pythonpath... + # Adding "." and ".." to the PYTHONPATH for themes folder (resource_rc.py files) + sys.path.append(os.path.realpath(".")) sys.path.append(os.path.realpath("..")) # одномониторная недоподдержка high-dpi