News - Logiciels Libres

Installer Chromium sous Windows en version portable

| | Logiciels Libres | 4 Commentaires | 1160
Installer Chromium sous Windows en version portable
Bonjour à tous,

Aujourd'hui, je souhaite vous faire partager une méthode pour installer Chromium sous Windows. En effet, pour des besoins professionnels, nous avons une application Web qui nécessite un paramétrage particulier du navigateur. J'ai donc cherché Chromium (appli optimisée pour Google Chrome, mais bon, Google dans le domaine de la santé....) et trouvé une version portative.

Je vous montrerai pas comment modifier Chromium selon le cahier des charges, car cela n'a pas d’intérêt, mais je vous présente ici la solution pour récupérer facilement la version portable de Chromium sous Windows, et qui peut se mettre à jour automatiquement !

Il s'agir de chrlauncher développé par Henry++. Le projet est disponible sur son site officiel : https://www.henrypp.org/product/chrlauncher et sur github (sous licence MIT, donc OpenSource)



Un fichier de configuration est disponible et est commenté, permettant de choisir plein d'options (canal de chromium, localisation du profil, périodicité de mise à jour, etc ...

Voici un aperçu du fichier de config :

Code BASH :
[chrlauncher]
# Custom Chromium update url (string):
#ChromiumUpdateUrl=https://chromium.woolyss.com/api/v3/?os=windows&bit=%d&type=%s&out=string
# Command line for Chromium (string):
# See here: http://peter.sh/experiments/chromium-command-line-switches/
ChromiumCommandLine=--user-data-dir=..\profile --no-default-browser-check --allow-outdated-plugins --disable-logging --disable-breakpad
# Chromium binary file name (string):
ChromiumBinary=chrome.exe
# Chromium binaries directory (string):
# Relative (to chrlauncher directory) or full path (env. variables supported).
ChromiumDirectory=.\bin
# Adobe Flash Player PPAPI portable library path (string):
# Relative (to chrlauncher directory) or full path (env. variables supported).
# Download here: http://effect8.ru/soft/media/adobe-flash-player-portable.html
FlashPlayerPath=.\plugins\pepflashplayer.dll
# Set Chromium binaries architecture (integer):
#
# 0    -> autodetect (default)
# 64    -> 64-bit
# 32    -> 32-bit
ChromiumArchitecture=0
# Auto download updates if founded (boolean)
#
# false    -> show tray tip if update found, downloading manually
# true    -> auto download update and install it! (default)
ChromiumAutoDownload=true
# Bring chrlauncher window when download started (boolean)
#
# false    -> don't bring main window to front automatically
# true    -> bring chrlauncher window to front when download started (default)
ChromiumBringToFront=true
# Set download in foreground mode (boolean):
#
# false    -> start browser and check/download/install update in background
# true    -> start browser only when check/download/install update complete (default)
ChromiumWaitForDownloadEnd=true
# Type of Chromium builds:
#
# dev-official        -> official development builds from snapshots repository "commondatastorage.googleapis.com/chromium-browser-snapshots/index.html"
# dev-codecs-sync    -> unofficial development builds with codecs "github.com/henrypp/chromium/releases" (default)
# stable-codecs-sync    -> unofficial stable builds with codecs "github.com/henrypp/chromium/releases"
# dev-codecs-nosync    -> unofficial development builds with codecs and without google services "github.com/henrypp/chromium/releases"
# stable-codecs-nosync    -> unofficial stable builds with codecs and without google services "github.com/henrypp/chromium/releases"
# ungoogled-chromium    -> unofficial builds without google integration and enhanced privacy "github.com/Eloston/ungoogled-chromium"
ChromiumType=dev-codecs-sync
# Check for new Chromium version once in X days (integer):
#
# 1    -> check updates once in a X day (default)
# 0    -> disable update checking
# -1    -> force update checking
ChromiumCheckPeriod=1


Après, roulez jeunesse, vous avez votre Chromium que vous pouvez emporter sur clé USB, ou packager à vos envies (avec sou sans chrlauncher. Bref cet outil est pratique pour vous, ou pour récupérer Chromium sans se prendre la tête !

Voyez l'ensemble en action en vidéo :

N'hésitez pas à sélectionner la qualité HD en 720p ou 1080p !