From fa51b1bcfc9ce7ecb3f282a9f4787deb7ee6423d Mon Sep 17 00:00:00 2001 From: Jelle Spijker Date: Fri, 28 Apr 2023 13:33:48 +0200 Subject: [PATCH] Use system agnostic paths --- packaging/AppImage/create_appimage.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packaging/AppImage/create_appimage.py b/packaging/AppImage/create_appimage.py index 726d9fcb9b..f5d6eae353 100644 --- a/packaging/AppImage/create_appimage.py +++ b/packaging/AppImage/create_appimage.py @@ -30,10 +30,10 @@ def copy_metadata_files(dist_path, version): Copy metadata files for the metadata of the AppImage. """ copied_files = { - os.path.join("..", "icons", "cura-icon.svg"): "usr/share/icons/hicolor/scalable/apps/cura-icon.svg", - os.path.join("..", "icons", "cura-icon_64x64.png"): "usr/share/icons/hicolor/64x64/apps/cura-icon.png", - os.path.join("..", "icons", "cura-icon_128x128.png"): "usr/share/icons/hicolor/128x128/apps/cura-icon.png", - os.path.join("..", "icons", "cura-icon_256x256.png"): "usr/share/icons/hicolor/256x256/apps/cura-icon.png", + os.path.join("..", "icons", "cura-icon.svg"): os.path.join("usr", "share", "icons", "hicolor", "scalable", "apps", "cura-icon.svg"), + os.path.join("..", "icons", "cura-icon_64x64.png"): os.path.join("usr", "share", "icons", "hicolor", "64x64", "apps", "cura-icon.png"), + os.path.join("..", "icons", "cura-icon_128x128.png"): os.path.join("usr", "share", "icons", "hicolor", "128x128", "apps", "cura-icon.png"), + os.path.join("..", "icons", "cura-icon_256x256.png"): os.path.join("usr", "share", "icons", "hicolor", "256x256", "apps", "cura-icon.png"), os.path.join("..", "icons", "cura-icon_256x256.png"): "cura-icon.png", "cura.appdata.xml": "cura.appdata.xml", "AppRun": "AppRun"