mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-03 20:04:14 -04:00
Switch from py2app to PyInstaller
This commit is contained in:
parent
3b638cfd99
commit
00d1e29333
7 changed files with 71 additions and 66 deletions
|
@ -44,7 +44,7 @@ def get_image_path(filename):
|
|||
if p == 'Linux':
|
||||
prefix = os.path.join(sys.prefix, 'share/onionshare/images')
|
||||
elif p == 'Darwin':
|
||||
prefix = os.path.join(helpers.osx_resources_dir, 'images')
|
||||
prefix = locale_dir = helpers.get_osx_resource_path('images')
|
||||
else:
|
||||
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