cherry-pick: 4046 darwin service message
Merge in DNS/adguard-home from 4046-log-dir to master Closes #4046. Squashed commit of the following: commit 05140550b14f477f52487c575f56428ce9e6fa10 Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Wed Jan 5 17:54:11 2022 +0500 all: add macOS service msg
This commit is contained in:
committed by
Ainar Garipov
parent
d50fd0ba91
commit
69dcb4effd
@@ -272,32 +272,12 @@ fix_darwin() {
|
||||
return 0
|
||||
fi
|
||||
|
||||
if [ "$cpu" = 'arm64' ]
|
||||
then
|
||||
case "$channel"
|
||||
in
|
||||
('beta'|'development'|'edge')
|
||||
# Everything is fine, we have Apple Silicon support on
|
||||
# these channels.
|
||||
;;
|
||||
('release')
|
||||
cpu='amd64'
|
||||
log "use $cpu build on Mac M1 until the native ARM support is added."
|
||||
;;
|
||||
(*)
|
||||
# Generally shouldn't happen, since the release channel
|
||||
# has already been validated.
|
||||
error_exit "invalid channel '$channel'"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Set the package extension.
|
||||
pkg_ext='zip'
|
||||
|
||||
# It is important to install AdGuard Home into the /Applications
|
||||
# directory on macOS. Otherwise, it may not grant enough privileges to
|
||||
# the AdGuard Home.
|
||||
# It is important to install AdGuard Home into the /Applications directory
|
||||
# on macOS. Otherwise, it may grant not enough privileges to the AdGuard
|
||||
# Home.
|
||||
out_dir='/Applications'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user