Skip to content

Instantly share code, notes, and snippets.

@speters

speters/freecad.sh

Last active Jul 14, 2020
Embed
What would you like to do?
/usr/bin/freecad wrapper to always start latest version
#!/bin/sh
FCLATEST=$(ls -t1 $HOME/.local/bin/FreeCAD*AppImage | head -n1)
if [ -x ${FCLATEST} ] ; then
${FCLATEST}
else
exit 1
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment