Skip to content

Commit

Permalink
Force PATH and sys.path values on Windows. Ref #279
Browse files Browse the repository at this point in the history
  • Loading branch information
kozec committed Jun 13, 2016
1 parent 4164c29 commit 38e42c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/syncthing-gtk-exe.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
from syncthing_gtk.tools import get_install_path
path = get_install_path()
os.chdir(path)
os.environ["PATH"] = path
sys.path = [ path ]

from syncthing_gtk.tools import init_logging, init_locale
from syncthing_gtk import windows
Expand Down

0 comments on commit 38e42c5

Please sign in to comment.