Fixing QML import pathing

On branch development
 Your branch is up to date with 'origin/development'.

 Changes to be committed:
	modified:   install-scripts/quickshell.sh
This commit is contained in:
Don Williams 2025-12-25 21:57:05 -05:00
parent 90dc9c7883
commit 8826595926

View File

@ -209,6 +209,16 @@ fi
echo "${OK} Quickshell installed successfully." | tee -a "$MLOG"
# Install a wrapper to run Quickshell with system QML imports (avoids Nix/Flatpak overrides)
WRAP=/usr/local/bin/qs-system
sudo tee "$WRAP" >/dev/null <<'EOSH'
#!/usr/bin/env bash
# Run Quickshell preferring system Qt6 QML modules
unset QML_IMPORT_PATH QML2_IMPORT_PATH
exec qs "$@"
EOSH
sudo chmod +x "$WRAP" || true
# Build logs already written to $PARENT_DIR/Install-Logs
# Keep source directory for reference in case user wants to rebuild later