mirror of
https://github.com/actions/runner-images.git
synced 2025-12-19 08:22:12 +00:00
Change default locale for Firefox on Ubuntu (#678)
Co-authored-by: Dmitry Shibanov <v-dmshib@microsoft.com>
This commit is contained in:
@@ -17,6 +17,10 @@ if ! command -v firefox; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# add to gloabl system preferences for firefox locale en_US, because other browsers have en_US local.
|
||||
# Default firefox local is en_GB
|
||||
echo 'pref("intl.locale.requested","en_US");' >> "/usr/lib/firefox/browser/defaults/preferences/syspref.js"
|
||||
|
||||
# Document what was added to the image
|
||||
echo "Lastly, documenting what we added to the metadata file"
|
||||
# Resolves: Running Firefox as root in a regular user's session is not supported.
|
||||
|
||||
Reference in New Issue
Block a user