mirror of
https://github.com/onionshare/onionshare.git
synced 2025-07-26 16:15:51 -04:00
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:
parent
3c071ce500
commit
d73d859fed
4 changed files with 60 additions and 17 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue