Check if parallels was already installed
This commit is contained in:
@@ -45,6 +45,7 @@ function patchParallels() {
|
||||
|
||||
function installParallels() {
|
||||
local inittoolPath='/Applications/Parallels Desktop.app/Contents/MacOS/inittool'
|
||||
[[ -f "${inittoolPath}" ]] && return
|
||||
indicateActivity -- 'Patching Parallels' patchParallels || return 0
|
||||
installCask parallels
|
||||
[ -x "${inittoolPath}" ] && indicateActivity -- 'Running Parallels inittool' ${inittoolPath} init
|
||||
|
||||
Reference in New Issue
Block a user