From bc2d6ce7554c88f6b12b9a7894eb2c7ab04a0377 Mon Sep 17 00:00:00 2001 From: Brian Zalewski <59970525+ProfessorManhattan@users.noreply.github.com> Date: Mon, 27 Nov 2023 07:04:01 +0000 Subject: [PATCH] Fixed quarantine issue --- home/dot_local/bin/executable_install-program | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/dot_local/bin/executable_install-program b/home/dot_local/bin/executable_install-program index 5dc9318a..72420026 100644 --- a/home/dot_local/bin/executable_install-program +++ b/home/dot_local/bin/executable_install-program @@ -814,7 +814,7 @@ async function beforeInstall(packageManager) { if (osType === 'darwin') { const docker = which.sync('docker', { nothrow: true }) if (!docker) { - await $`brew install --cask docker` + await $`brew install --cask --no-quarantine docker` } try { await $`sudo -c 'docker run --rm hello-world' - ${process.env.USER}` @@ -1300,7 +1300,7 @@ async function installPackageList(packageManager, packages) { } else if (packageManager === 'cask') { for (let pkg of packages) { try { - runCommand(`Installing ${pkg} via ${packageManager}`, `brew install --cask ${pkg}`) + runCommand(`Installing ${pkg} via ${packageManager}`, `brew install --cask --no-quarantine ${pkg}`) log('success', 'Install', `${pkg} successfully installed via ${packageManager}`) } catch (e) { log('error', 'Install', `There was an error installing ${pkg} with Homebrew Cask`)