Skip to content

Commit fa56b78

Browse files
committed
adding freecad
1 parent cc278b0 commit fa56b78

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

setupPackages.sh

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ SCRIPT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
44
SBA=SceneBuilder-21.0.0.deb
55
APPINVENT=aisetup.deb
66
APPINVENTDesktop="AppInventorTerminal.desktop"
7+
FreecadDesktop="Freecad.desktop"
8+
#https://github.com/FreeCAD/FreeCAD-Bundle/releases/download/weekly-builds/
9+
FREECAD=FreeCAD_weekly-builds-37543-conda-Linux-x86_64-py311.AppImage
710
if (! test -e $APPINVENT) then
811
sudo apt -y install zlib1g:i386 lib32stdc++6 libstdc++6:i386 lib32z1
912
sudo rm -rf /usr/google/appinventor/
@@ -27,6 +30,29 @@ else
2730
echo "$APPINVENT installed "
2831
fi
2932

33+
if (! test -e $FreecadDesktop) then
34+
35+
wget https://github.com/FreeCAD/FreeCAD-Bundle/releases/download/weekly-builds/$FREECAD -O freecad
36+
sudo cp freecad /usr/local/bin/
37+
sudo chmod +x /usr/local/bin/freecad
38+
sudo cp FreeCAD-logo.png /usr/local/bin/
39+
echo "[Desktop Entry]
40+
Version=1.0
41+
Type=Application
42+
Name=App Inventor Terminal
43+
Comment=
44+
Exec=/usr/local/bin/freecad
45+
Icon=/usr/local/bin/FreeCAD-logo.png
46+
Path=""
47+
Terminal=true
48+
StartupNotify=false" > $FreecadDesktop
49+
sudo chmod +x $FreecadDesktop
50+
gio set $FreecadDesktop "metadata::trusted" yes
51+
sudo desktop-file-install $FreecadDesktop
52+
else
53+
echo "$FreecadDesktop installed "
54+
fi
55+
3056
if (! test -e $SBA) then
3157
wget https://github.com/BancroftSchoolOpenSource/UbuntuSetupScript/releases/download/0.0.0/$SBA
3258
sudo dpkg -i $SBA
@@ -56,7 +82,7 @@ else
5682
fi
5783

5884
sudo apt install -y git texstudio python3-pip libncurses5 libpython2.7 mesa-utils openshot-qt python3-openshot ssh net-tools build-essential curl wget inkscape docker.io libfuse2 nodejs npm sssd-ad sssd-tools realmd adcli krita obs-studio godot3 google-chrome-stable kazam gnome-sound-recorder ffmpeg
59-
sudo apt purge -y modemmanager scratch brltty
85+
sudo apt purge -y modemmanager scratch brltty meshlab
6086
sudo pip install pyserial
6187

6288

0 commit comments

Comments
 (0)