This commit is contained in:
Brian Zalewski 2024-05-04 07:25:19 +00:00
parent c09868c433
commit c44cd67853
3 changed files with 9 additions and 5 deletions

View file

@ -224,7 +224,11 @@ async function bundleInstall(brews, casks, caskMap) {
if (cask.indexOf('/') !== -1) { if (cask.indexOf('/') !== -1) {
lines.push(`tap "${cask.substring(0, cask.lastIndexOf('/'))}"`) lines.push(`tap "${cask.substring(0, cask.lastIndexOf('/'))}"`)
} }
lines.push(`cask "${cask}"`) if (cask.indexOf(' --no-quarantine') === -1) {
lines.push(`cask "${cask}"`)
} else {
lines.push(`cask "${cask.replace(' --no-quarantine', '')}", args: { "no-quarantine": true }`)
}
} }
brews.length && log(`Adding following brews to Brewfile for installation: ${brews.join(' ')}`) brews.length && log(`Adding following brews to Brewfile for installation: ${brews.join(' ')}`)
for (const brew of brews) { for (const brew of brews) {

View file

@ -12657,10 +12657,10 @@ softwarePackages:
if ! pip3 list | grep certifi > /dev/null; then if ! pip3 list | grep certifi > /dev/null; then
if command -v brew > /dev/null; then if command -v brew > /dev/null; then
logg info 'Ensuring Python certifi is installed via Homebrew' logg info 'Ensuring Python certifi is installed via Homebrew'
brew install --quiet python-certifi brew install --quiet certifi
else else
logg info 'Ensuring certifi is installed globally for Python 3' logg info 'Ensuring certifi is installed globally for Python 3'
pip3 install certifibrew link --overwrite python-certifi pip3 install certifi
fi fi
fi fi

View file

@ -12883,10 +12883,10 @@ softwarePackages:
if ! pip3 list | grep certifi > /dev/null; then if ! pip3 list | grep certifi > /dev/null; then
if command -v brew > /dev/null; then if command -v brew > /dev/null; then
logg info 'Ensuring Python certifi is installed via Homebrew' logg info 'Ensuring Python certifi is installed via Homebrew'
brew install --quiet python-certifi brew install --quiet certifi
else else
logg info 'Ensuring certifi is installed globally for Python 3' logg info 'Ensuring certifi is installed globally for Python 3'
pip3 install certifibrew link --overwrite python-certifi pip3 install certifi
fi fi
fi fi
### Copy CloudFlare PEM file to Python 3 location ### Copy CloudFlare PEM file to Python 3 location