From 8b8220c45d89d5218d79a10a9549bdd3611da065 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 1 Jul 2022 12:03:24 +0200 Subject: [PATCH] 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. --- packaging/AppImage/create_appimage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }