mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
install path for windows
This commit is contained in:
parent
c6cb4a20c8
commit
5929d1ad53
1 changed files with 6 additions and 2 deletions
|
@ -44,8 +44,12 @@ if platform.system() == "Windows":
|
|||
else:
|
||||
CONFIG_DIR = xdg.BaseDirectory.save_config_path('deluge')
|
||||
|
||||
# the necessary substitutions are made at installation time
|
||||
INSTALL_PREFIX = '@datadir@'
|
||||
if hasattr(sys, "frozen"):
|
||||
INSTALL_PREFIX = ''
|
||||
else:
|
||||
# the necessary substitutions are made at installation time
|
||||
INSTALL_PREFIX = '@datadir@'
|
||||
|
||||
GLADE_DIR = os.path.join(INSTALL_PREFIX, 'share', 'deluge', 'glade')
|
||||
PIXMAP_DIR = os.path.join(INSTALL_PREFIX, 'share', 'deluge', 'pixmaps')
|
||||
PLUGIN_DIR = os.path.join(INSTALL_PREFIX, 'share', 'deluge', 'plugins')
|
||||
|
|
Loading…
Add table
Reference in a new issue