Ship 0.8 fog/freistellen and fix Windows CI for friends
Some checks are pending
Windows Release / windows-x86_64 (push) Waiting to run

Publish the portable zip to public Forgejo from the private GitHub
builder, and force Ninja so MSVC 195 deps build without CMake 4.2.
This commit is contained in:
copilot 2026-10-25 18:07:47 +01:00
parent 97b136de3b
commit 1c1d63f376
46 changed files with 1748 additions and 156 deletions

27
linuxinstall/bundle-rembg.sh Executable file
View file

@ -0,0 +1,27 @@
#!/usr/bin/env bash
# Place rembg CLI + models next to an InfiniPaint install so Schnell/Allgemein
# work without a global PATH dependency. Missing tools are skipped; the UI greys out.
set -euo pipefail
DEST="${1:?usage: bundle-rembg.sh DEST_DIR}"
mkdir -p "$DEST"
TOWER="${TOWER_REMBG_VENV:-$HOME/.local/share/tower-rembg}"
MODELS_SRC="${REMBG_HOME:-$HOME/.rembg}"
if [[ -x "$TOWER/bin/rembg" ]]; then
ln -sfn "$TOWER" "$DEST/rembg"
echo "Linked rembg CLI: $DEST/rembg -> $TOWER"
elif [[ -x "$TOWER/Scripts/rembg.exe" ]]; then
ln -sfn "$TOWER" "$DEST/rembg"
echo "Linked rembg CLI: $DEST/rembg -> $TOWER"
else
echo "No tower-rembg venv at $TOWER — Schnell/Allgemein will be unavailable unless rembg is on PATH."
fi
if [[ -d "$MODELS_SRC/models" ]]; then
mkdir -p "$DEST/rembg-home"
ln -sfn "$MODELS_SRC/models" "$DEST/rembg-home/models"
echo "Linked rembg models: $DEST/rembg-home/models -> $MODELS_SRC/models"
else
echo "No rembg models at $MODELS_SRC/models — download with: rembg d silueta && rembg d bria-rmbg"
fi

View file

@ -14,6 +14,11 @@ rm -rf "${APPDIR}/data"
cp -a "${ROOT}/assets/data" "${APPDIR}/data"
ln -sfn "${APPDIR}/infinipaint" "${PREFIX}/bin/infinipaint"
# Optional rembg next to the app (silueta / bria). Missing = greyed-out modes in Settings.
if [[ -x "${ROOT}/linuxinstall/bundle-rembg.sh" ]]; then
bash "${ROOT}/linuxinstall/bundle-rembg.sh" "$APPDIR" || true
fi
cat > "${PREFIX}/share/applications/com.infinipaint.infinipaint-fork.desktop" <<EOF
[Desktop Entry]
Name=InfiniPaint (fork)