Fix path to icon file

The script got moved. It looks in the directory relative to __file__ for the icon and other files. Those other files also got moved, but the icons were placed in a centrally stored location. So the path needs to be updated to the new relative path.

Contributes to issue CURA-9409.
This commit is contained in:
Ghostkeeper 2022-07-01 12:03:24 +02:00
parent 6693354bf7
commit 8b8220c45d
No known key found for this signature in database
GPG key ID: 68F39EA88EEED5FF

View file

@ -30,7 +30,7 @@ def copy_metadata_files(dist_path, version):
Copy metadata files for the metadata of the AppImage.
"""
copied_files = {
"cura-icon_256x256.png": "cura-icon.png",
os.path.join("..", "icons", "cura-icon_256x256.png"): "cura-icon.png",
"cura.appdata.xml": "cura.appdata.xml",
"AppRun": "AppRun"
}