Commit Graph

12 Commits

Author SHA1 Message Date
olivier 92a14fbc04 Make install script idempotent: treat already-up-to-date as success
winget exit code -1978335189 (no applicable update) is now handled
as a non-error for both Firefox and other packages. Summary shows
"Deja a jour" in green instead of failing.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24 11:25:30 +02:00
olivier 0071e3697d Add --source winget to all remaining winget install and uninstall calls
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24 11:20:33 +02:00
olivier 956eddc872 Fix Firefox install failing when msstore source returns certificate error
Add --source winget to winget install call so the package is resolved
only from the winget source, avoiding the msstore TLS failure.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24 11:18:23 +02:00
olivier 5594752906 Inline Initialize-Winget function into each script
Each script is now self-contained and no longer dot-sources
Initialize-Winget.ps1. The helper file is kept as reference.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24 11:14:12 +02:00
olivier 17b3df2628 Inline Firefox install functions into libres-softwares-install.ps1
The script no longer spawns Install-Firefox.ps1 as a subprocess.
Firefox functions are copied directly and called in-process, which
removes the Start-Process indirection and the duplicate
Initialize-Winget call. Admin check added for the Firefox path.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24 11:12:11 +02:00
olivier 64352817f5 Add winget repair helper and remove winget configure --enable prerequisite
Initialize-Winget.ps1 refreshes PATH, re-registers App Installer and
falls back to the provisioned package before exiting with a Store link.
All scripts that call winget now dot-source this helper instead of
failing on a missing winget.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24 10:54:56 +02:00
olivier cbe534db31 Merge Firefox install and configuration 2026-05-24 10:02:47 +02:00
olivier 5dc4dad915 Configure Firefox defaults and uBlock 2026-05-24 09:56:25 +02:00
olivier 9c2b723ccb Actualiser powershell/libres-softwares-install.ps1 2026-01-31 11:16:14 +01:00
olivier b243b90e58 Actualiser powershell/libres-softwares-install.ps1 2026-01-31 11:13:48 +01:00
olivier cb82d79275 Actualiser powershell/libres-softwares-install.ps1 2026-01-31 11:12:06 +01:00
olivier 6ddeabeb45 Ajouter powershell/libres-softwares-install.ps1 2026-01-31 11:07:17 +01:00