From d15b1f40c758fc6c2fe324a9926e9722d504b2a4 Mon Sep 17 00:00:00 2001
From: Kaalleen <36401965+kaalleen@users.noreply.github.com>
Date: Mon, 18 Nov 2024 11:39:57 +0100
Subject: Add icons and descriptions for extension gallery (#3287)
---
lib/inx/utils.py | 4 ++++
1 file changed, 4 insertions(+)
(limited to 'lib/inx/utils.py')
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"] = '../bin/inkstitch.exe'
+ env.globals["icon_path"] = '../bin/icons/'
elif sys.platform == "darwin":
env.globals["command_tag"] = '../../MacOS/inkstitch'
+ env.globals["icon_path"] = '../icons/'
else:
env.globals["command_tag"] = '../bin/inkstitch'
+ env.globals["icon_path"] = '../bin/icons/'
else:
# user is running inkstitch.py directly as a developer
env.globals["command_tag"] = '../inkstitch.py'
+ env.globals["icon_path"] = '../icons/'
return env
--
cgit v1.2.3