openscad: use wrapQtApp for macOS app

This commit is contained in:
Dmitry Kalinkin 2020-05-23 21:52:28 -04:00 committed by Bjørn Forsman
parent fb1c7bf633
commit e4cd1ba5b8

View File

@ -58,6 +58,8 @@ mkDerivation rec {
mv $out/bin/*.app $out/Applications
rmdir $out/bin || true
wrapQtApp "$out"/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD
mv --target-directory=$out/Applications/OpenSCAD.app/Contents/Resources \
$out/share/openscad/{examples,color-schemes,locale,libraries,fonts}