File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444ICON=$SCRIPT /Cura/resources/images/cura-icon.png
4545CURADESKTOP=$SCRIPT /Cura-5.4.desktop
4646ARDUINODESKTOP=$SCRIPT /Arduino-2.desktop
47+ MESHLAB=$SCRIPT /MashLab.desktop
4748if (! test -e $CURADESKTOP ) then
4849 if (! test -e $ICON ) then
4950 git clone https://github.com/Ultimaker/Cura.git $SCRIPT /Cura/
@@ -82,6 +83,25 @@ if (! test -e $ARDUINODESKTOP) then
8283 sudo desktop-file-install $ARDUINODESKTOP
8384fi
8485
86+ if (! test -e $MESHLAB ) then
87+ sudo wget https://github.com/cnr-isti-vclab/meshlab/releases/download/MeshLab-2023.12/MeshLab2023.12-linux.AppImage -O /usr/local/bin/mashlab
88+ sudo chmod +x /usr/local/bin/mashlab
89+ cp $SCRIPT /meshlab.png /usr/local/bin/meshlab.png
90+ echo " [Desktop Entry]
91+ Version=1.0
92+ Type=Application
93+ Name=Mesh Lab
94+ Comment=
95+ Exec=/usr/local/bin/mashlab
96+ Icon=/usr/local/bin/meshlab.png
97+ Path=
98+ Terminal=false
99+ StartupNotify=false" > $MESHLAB
100+ sudo chmod +x $MESHLAB
101+ gio set $MESHLAB " metadata::trusted" yes
102+ sudo desktop-file-install $MESHLAB
103+ fi
104+
85105SCRATCHJR=$SCRIPT /ScratchJr-Desktop/
86106if (! test -e $SCRATCHJR ) then
87107 git clone https://github.com/leonskb4/ScratchJr-Desktop $SCRATCHJR
You can’t perform that action at this time.
0 commit comments