summaryrefslogtreecommitdiff
path: root/lib/inx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/inx')
-rwxr-xr-xlib/inx/utils.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/inx/utils.py b/lib/inx/utils.py
index 9168f2a2..c4cbf6f0 100755
--- a/lib/inx/utils.py
+++ b/lib/inx/utils.py
@@ -26,13 +26,17 @@ def build_environment():
# Command tag and icons path
if sys.platform == "win32":
env.globals["command_tag"] = '<command location="inx">../bin/inkstitch.exe</command>'
+ env.globals["icon_path"] = '../bin/icons/'
elif sys.platform == "darwin":
env.globals["command_tag"] = '<command location="inx">../../MacOS/inkstitch</command>'
+ env.globals["icon_path"] = '../icons/'
else:
env.globals["command_tag"] = '<command location="inx">../bin/inkstitch</command>'
+ env.globals["icon_path"] = '../bin/icons/'
else:
# user is running inkstitch.py directly as a developer
env.globals["command_tag"] = '<command location="inx" interpreter="python">../inkstitch.py</command>'
+ env.globals["icon_path"] = '../icons/'
return env