Currently bundling an update of my extension as well - so will check that the icons as per usual work just in case… Update: Running into other issues… maybe you can do me a favor and try installing my latest bundle (see new topic opened by myself…)
Can you maybe add some debugging code that helps you monitor this in console in “classical UI”:
import os
# Print current working directory
current_dir = os.getcwd()
print(f"Current working directory: {current_dir}")
# Define the relative path to check
relative_path = "../icons/icon.png"
if os.path.exists(relative_path):
print(f"Path exists: {relative_path}")
else:
print(f"Path does not exist: {relative_path}")
Is it an option to move the icons folder into the src folder and then go “icons/icon.png”?