summaryrefslogtreecommitdiff
path: root/lib/inx/utils.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2024-11-18 11:39:57 +0100
committerGitHub <noreply@github.com>2024-11-18 11:39:57 +0100
commitd15b1f40c758fc6c2fe324a9926e9722d504b2a4 (patch)
tree3d4682008faa89cd37969807c3e1c7b97140e5a4 /lib/inx/utils.py
parente8123b72744b81302f1d264082940b58b3695584 (diff)
Add icons and descriptions for extension gallery (#3287)
Diffstat (limited to 'lib/inx/utils.py')
-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