Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhostkeeper <rubend@tutanota.com>2022-07-01 13:03:24 +0300
committerGhostkeeper <rubend@tutanota.com>2022-07-01 13:03:24 +0300
commit8b8220c45d89d5218d79a10a9549bdd3611da065 (patch)
treeb39507075a9f0f103e79aad86c42c7091f7d296d /packaging
parent6693354bf77e8ca3a135c8748b3599e6af17efd0 (diff)
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.
Diffstat (limited to 'packaging')
-rw-r--r--packaging/AppImage/create_appimage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/AppImage/create_appimage.py b/packaging/AppImage/create_appimage.py
index 33f8482065..9f3509e877 100644
--- a/packaging/AppImage/create_appimage.py
+++ b/packaging/AppImage/create_appimage.py
@@ -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"
}