build: add build scripts and documentation

This commit is contained in:
BlackAngelTV committed 2026-08-24 21:13:51 +02:00
1 parent bd0c9bf37c
commit cb4c68638a
3 files changed
+360

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
#!/bin/bash
set -e
PLUGIN_DIR="$HOME/.local/lib/PackageMapper/plugins"
echo "📦 Installation des plugins..."
mkdir -p "$PLUGIN_DIR"
# Find and copy all plugin .so files
for plugin in build/plugins/*/lib*.so; do
if [ -f "$plugin" ]; then
cp "$plugin" "$PLUGIN_DIR/"
echo " ✅ Installé: $(basename $plugin)"
fi
done
# Universal plugin (priority)
if [ -f "build/plugins/universal/libuniversal.so" ]; then
echo " 🌍 Plugin universal chargé"
fi
echo ""
echo "📁 Plugins installés dans: $PLUGIN_DIR"
echo "🔄 Redémarrez PackageMapper pour charger les nouveaux plugins."