mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 07:25:56 +08:00
Use system agnostic paths
This commit is contained in:
parent
e612341f7f
commit
fa51b1bcfc
@ -30,10 +30,10 @@ def copy_metadata_files(dist_path, version):
|
|||||||
Copy metadata files for the metadata of the AppImage.
|
Copy metadata files for the metadata of the AppImage.
|
||||||
"""
|
"""
|
||||||
copied_files = {
|
copied_files = {
|
||||||
os.path.join("..", "icons", "cura-icon.svg"): "usr/share/icons/hicolor/scalable/apps/cura-icon.svg",
|
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"): "usr/share/icons/hicolor/64x64/apps/cura-icon.png",
|
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"): "usr/share/icons/hicolor/128x128/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"): "usr/share/icons/hicolor/256x256/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",
|
os.path.join("..", "icons", "cura-icon_256x256.png"): "cura-icon.png",
|
||||||
"cura.appdata.xml": "cura.appdata.xml",
|
"cura.appdata.xml": "cura.appdata.xml",
|
||||||
"AppRun": "AppRun"
|
"AppRun": "AppRun"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user