Skip to content

Instantly share code, notes, and snippets.

@speters
Last active July 14, 2020 08:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save speters/bca6fef401a8a0fef985adb75286e245 to your computer and use it in GitHub Desktop.
Save speters/bca6fef401a8a0fef985adb75286e245 to your computer and use it in GitHub Desktop.
/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