fixed Windows/OSX image path problem, and updated NSIS Windows installer to install all the new .py files from refactoring

This commit is contained in:
Micah Lee 2014-09-04 13:20:39 -07:00
parent 3c071ce500
commit d73d859fed
4 changed files with 60 additions and 17 deletions

View file

@ -32,5 +32,5 @@ def get_image_path(filename):
if platform.system() == 'Linux':
prefix = os.path.join(sys.prefix, 'share/onionshare/images')
else:
prefix = os.path.join(get_onionshare_gui_dir(), 'images')
prefix = os.path.join(os.path.dirname(get_onionshare_gui_dir()), 'images')
return os.path.join(prefix, filename)