The problem seems to be in the AUR wrapper and desktop patch, there seem to be two regressions:
https://aur.archlinux.org/cgit/aur.git/tree/freecad.sh?h=freecad-weekly-appimage
/opt/appimages/freecad.AppImage $1
$1 is unquoted, so it is split by spaces and only the first argument is forwarded.
It should be:
exec /opt/appimages/freecad.AppImage "$@"
-Exec=AppRun - --single-instance %F
+Exec=freecad
%F was dropped, breaking things.
https://specifications.freedesktop.org/desktop-entry/latest/exec-variables.html
I have not had time to test a local patch yet, maybe next week.
I also reported this in the FreeCAD repo, but I think the problem is right here in AUR. https://github.com/FreeCAD/FreeCAD/issues/30357
Pinned Comments
Genues commented on 2021-12-14 13:39 (UTC) (edited on 2025-09-12 09:29 (UTC) by Genues)
Hi. The script automatically checks for new versions once a day, at 13:00 UTC. If you see a new version in the FreeCad repository, please wait for this time before setting the package out-of-date flag. Thanks you.