Update AppImage scripts using UltiMaker

Contributes to CURA-9808
This commit is contained in:
jspijker 2022-11-28 11:12:37 +01:00
parent a727228a12
commit 14eb9371f6
4 changed files with 10 additions and 9 deletions

View file

@ -17,4 +17,4 @@ export OPENSSL_CONF="$scriptdir/openssl.cnf"
# unset `QT_STYLE_OVERRIDE` as a precaution # unset `QT_STYLE_OVERRIDE` as a precaution
unset QT_STYLE_OVERRIDE unset QT_STYLE_OVERRIDE
$scriptdir/Ultimaker-Cura "$@" $scriptdir/UltiMaker-Cura "$@"

View file

@ -1,6 +1,7 @@
# Copyright (c) 2022 Ultimaker B.V. # Copyright (c) 2022 UltiMaker
# Cura is released under the terms of the LGPLv3 or higher. # Cura is released under the terms of the LGPLv3 or higher.
import argparse # Command line arguments parsing and help. import argparse # Command line arguments parsing and help.
from jinja2 import Template from jinja2 import Template
import os # Finding installation directory. import os # Finding installation directory.
@ -71,6 +72,6 @@ if __name__ == "__main__":
parser = argparse.ArgumentParser(description = "Create AppImages of Cura.") parser = argparse.ArgumentParser(description = "Create AppImages of Cura.")
parser.add_argument("dist_path", type=str, help="Path to where PyInstaller installed the distribution of Cura.") parser.add_argument("dist_path", type=str, help="Path to where PyInstaller installed the distribution of Cura.")
parser.add_argument("version", type=str, help="Full version number of Cura (e.g. '5.1.0-beta')") parser.add_argument("version", type=str, help="Full version number of Cura (e.g. '5.1.0-beta')")
parser.add_argument("filename", type = str, help = "Filename of the AppImage (e.g. 'Ultimaker-Cura-5.1.0-beta-Linux-X64.AppImage')") parser.add_argument("filename", type = str, help = "Filename of the AppImage (e.g. 'UltiMaker-Cura-5.1.0-beta-Linux-X64.AppImage')")
args = parser.parse_args() args = parser.parse_args()
build_appimage(args.dist_path, args.version, args.filename) build_appimage(args.dist_path, args.version, args.filename)

View file

@ -3,16 +3,16 @@
<id>com.ultimaker.cura</id> <id>com.ultimaker.cura</id>
<metadata_license>CC0-1.0</metadata_license> <metadata_license>CC0-1.0</metadata_license>
<project_license>LGPL-3.0</project_license> <project_license>LGPL-3.0</project_license>
<name>Ultimaker Cura</name> <name>UltiMaker Cura</name>
<summary>Slicer to prepare your 3D printing projects</summary> <summary>Slicer to prepare your 3D printing projects</summary>
<description> <description>
<p>Ultimaker Cura is a slicer, an application that prepares your model for 3D printing. Optimized, expert-tested profiles for 3D printers and materials mean you can start printing reliably in no time. And with industry-standard software integration, you can streamline your workflow for maximum efficiency.</p> <p>UltiMaker Cura is a slicer, an application that prepares your model for 3D printing. Optimized, expert-tested profiles for 3D printers and materials mean you can start printing reliably in no time. And with industry-standard software integration, you can streamline your workflow for maximum efficiency.</p>
</description> </description>
<url type="homepage">https://ultimaker.com/en/software/ultimaker-cura</url> <url type="homepage">https://ultimaker.com/en/software/ultimaker-cura</url>
<screenshots> <screenshots>
<screenshot type="default"> <screenshot type="default">
<caption>Print preparation screen</caption> <caption>Print preparation screen</caption>
<image>https://raw.githubusercontent.com/Ultimaker/Cura/master/screenshot.png</image> <image>https://raw.githubusercontent.com/Ultimaker/Cura/main/cura-logo.PNG</image>
</screenshot> </screenshot>
</screenshots> </screenshots>
</component> </component>

View file

@ -1,11 +1,11 @@
[Desktop Entry] [Desktop Entry]
Name=Ultimaker Cura Name=UltiMaker Cura
Name[de]=Ultimaker Cura Name[de]=UltiMaker Cura
GenericName=3D Printing Software GenericName=3D Printing Software
GenericName[de]=3D-Druck-Software GenericName[de]=3D-Druck-Software
GenericName[nl]=3D-Print Software GenericName[nl]=3D-Print Software
Comment=Cura converts 3D models into paths for a 3D printer. It prepares your print for maximum accuracy, minimum printing time and good reliability with many extra features that make your print come out great. Comment=Cura converts 3D models into paths for a 3D printer. It prepares your print for maximum accuracy, minimum printing time and good reliability with many extra features that make your print come out great.
Exec=Ultimaker-Cura %F Exec=UltiMaker-Cura %F
Icon=cura-icon Icon=cura-icon
Terminal=false Terminal=false
Type=Application Type=Application