summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Moura2019-12-03 17:43:37 -0300
committerIgor Moura2019-12-03 17:43:37 -0300
commit0538c129d51a8b88e28ce696e7340ced3a0c3d32 (patch)
treea3c6fff34334f517fd26e661b27f56a3f372f494
parent3c34cc1a839478c25f7fc2aa16f643c9db1b4146 (diff)
downloadaur-0538c129d51a8b88e28ce696e7340ced3a0c3d32.tar.gz
fix: added way to pass through arguments, thanks @mudkip908
-rw-r--r--freecad.sh2
-rw-r--r--freecad_conda.desktop.patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/freecad.sh b/freecad.sh
index 3f575e1a7308..abd8d3999bbb 100644
--- a/freecad.sh
+++ b/freecad.sh
@@ -1,2 +1,2 @@
#!/bin/sh
-LIBGL_DRI3_DISABLE=true /opt/appimages/freecad.AppImage
+LIBGL_DRI3_DISABLE=true /opt/appimages/freecad.AppImage "$@"
diff --git a/freecad_conda.desktop.patch b/freecad_conda.desktop.patch
index d1694eae611c..6fcef4e89d07 100644
--- a/freecad_conda.desktop.patch
+++ b/freecad_conda.desktop.patch
@@ -5,7 +5,7 @@
Version=1.0
Name=FreeCAD Conda
-Exec=AppRun
-+Exec=/usr/bin/freecad
++Exec=/usr/bin/freecad %F
Icon=freecad_conda
Type=Application
Categories=Engineering;