Wholesale copy of all Kindred Create additions that don't conflict with upstream FreeCAD code: - kindred-icons/ (1444 Catppuccin Mocha SVG icon overrides) - src/Mod/Create/ (Kindred Create workbench) - src/Gui/ Kindred source files (FileOrigin, OriginManager, OriginSelectorWidget, CommandOrigin, BreadcrumbToolBar, EditingContext) - src/Gui/Icons/ (Kindred branding and silo icons) - src/Gui/PreferencePacks/KindredCreate/ - src/Gui/Stylesheets/ (KindredCreate.qss, images_dark-light/) - package/ (rattler-build recipe) - docs/ (architecture, guides, specifications) - .gitea/ (CI workflows, issue templates) - mods/silo, mods/ztools submodules - .gitmodules (Kindred submodule URLs) - resources/ (kindred-create.desktop, kindred-create.xml) - banner-logo-light.png, CONTRIBUTING.md
36 lines
1.2 KiB
Bash
Executable File
36 lines
1.2 KiB
Bash
Executable File
#!/bin/bash
|
|
HERE="$(dirname "$(readlink -f "${0}")")"
|
|
export PREFIX=${HERE}/usr
|
|
# export LD_LIBRARY_PATH=${HERE}/usr/lib${LD_LIBRARY_PATH:+':'}$LD_LIBRARY_PATH
|
|
export PYTHONHOME=${HERE}/usr
|
|
export PATH_TO_FREECAD_LIBDIR=${HERE}/usr/lib
|
|
# export QT_QPA_PLATFORM_PLUGIN_PATH=${HERE}/usr/plugins
|
|
# export QT_XKB_CONFIG_ROOT=${HERE}/usr/lib
|
|
export FONTCONFIG_FILE=/etc/fonts/fonts.conf
|
|
export FONTCONFIG_PATH=/etc/fonts
|
|
|
|
# Qt HiDPI scaling — force integer rounding to avoid blurry text on fractional scales
|
|
export QT_SCALE_FACTOR_ROUNDING_POLICY=RoundPreferFloor
|
|
export QT_ENABLE_HIGHDPI_SCALING=1
|
|
|
|
# Show packages info if DEBUG env variable is set
|
|
if [ "$DEBUG" = 1 ]; then
|
|
cat ${HERE}/packages.txt
|
|
fi
|
|
|
|
# SSL
|
|
# https://forum.freecad.org/viewtopic.php?f=4&t=34873&start=20#p327416
|
|
export SSL_CERT_FILE=$PREFIX/ssl/cacert.pem
|
|
# https://github.com/FreeCAD/FreeCAD-AppImage/pull/20
|
|
export GIT_SSL_CAINFO=$HERE/usr/ssl/cacert.pem
|
|
|
|
# Support for launching other applications (from /usr/bin)
|
|
# https://github.com/FreeCAD/FreeCAD-AppImage/issues/30
|
|
if [ ! -z "$1" ] && [ -e "$HERE/usr/bin/$1" ] ; then
|
|
MAIN="$HERE/usr/bin/$1" ; shift
|
|
else
|
|
MAIN="$HERE/usr/bin/freecad"
|
|
fi
|
|
|
|
"${MAIN}" "$@"
|