@@ -26,11 +26,15 @@ sudo apt install -y git texstudio python3-pip libncurses5 libpython2.7 mesa-uti
2626sudo apt purge -y modemmanager scratch brltty
2727sudo pip install pyserial
2828
29+
30+ sudo snap install blender --classic
31+
32+
2933sudo cp $SCRIPT /81-bancroft.rules /etc/udev/rules.d/
3034sudo udevadm control --reload-rules
3135sudo udevadm trigger
3236
33- echo " AD enromlment success! "
37+
3438
3539if (! test -e /usr/local/bin/cura) then
3640 curl -L https://github.com/Ultimaker/Cura/releases/download/5.4.0/UltiMaker-Cura-5.4.0-linux-modern.AppImage -o $SCRIPT /cura
4044ICON=$SCRIPT /Cura/resources/images/cura-icon.png
4145CURADESKTOP=$SCRIPT /Cura-5.4.desktop
4246ARDUINODESKTOP=$SCRIPT /Arduino-2.desktop
47+ MESHLAB=$SCRIPT /MashLab.desktop
4348if (! test -e $CURADESKTOP ) then
4449 if (! test -e $ICON ) then
4550 git clone https://github.com/Ultimaker/Cura.git $SCRIPT /Cura/
@@ -78,6 +83,25 @@ if (! test -e $ARDUINODESKTOP) then
7883 sudo desktop-file-install $ARDUINODESKTOP
7984fi
8085
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+ sudo 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+
81105SCRATCHJR=$SCRIPT /ScratchJr-Desktop/
82106if (! test -e $SCRATCHJR ) then
83107 git clone https://github.com/leonskb4/ScratchJr-Desktop $SCRATCHJR
@@ -170,8 +194,9 @@ for d in */ ; do
170194 sudo cp -r $SCRIPT /.config/cura/ /home/$TRIMMED /.config/
171195 fi
172196 sudo mkdir -p /home/$TRIMMED /Desktop/
173-
197+ sudo rm -rf /home/ $TRIMMED /.config/google-chrome/Singleton *
174198 sudo chown -R $TMP :$TMP /home/$TRIMMED /
199+
175200done
176201
177202
0 commit comments