mirror of
https://github.com/bitgapp/eqMac.git
synced 2024-11-27 02:02:15 +03:00
improvements to the install process
This commit is contained in:
parent
148ecf787c
commit
7cc4575bb4
@ -13,15 +13,14 @@ if [ "$CURRENT_DRIVER_VERSION" != "$NEEDED_DRIVER_VERSION" ]; then
|
|||||||
# Copy driver into Plug-Ins folder
|
# Copy driver into Plug-Ins folder
|
||||||
cp -f -r "$DIR/eqMac.driver" /Library/Audio/Plug-Ins/HAL/ &>/dev/null
|
cp -f -r "$DIR/eqMac.driver" /Library/Audio/Plug-Ins/HAL/ &>/dev/null
|
||||||
|
|
||||||
msg="It is recommended you restart your Mac for the eqMac Audio Driver to function properly."
|
|
||||||
if osascript <<EOT
|
if osascript <<EOT
|
||||||
tell application id "com.apple.systemuiserver"
|
tell application id "com.apple.systemuiserver"
|
||||||
display alert "Warning" \
|
display dialog \
|
||||||
message "$msg" \
|
"It is recommended you restart your Mac for the eqMac Audio Driver to function properly." \
|
||||||
buttons {"Skip restart", "Restart Mac"} \
|
buttons {"Skip restart", "Restart Mac"} \
|
||||||
default button "Restart Mac" \
|
default button "Restart Mac" \
|
||||||
cancel button "Skip restart" \
|
cancel button "Skip restart" \
|
||||||
as warning
|
with icon POSIX file "/Applications/eqMac.app/Contents/Resources/AppIcon.icns"
|
||||||
end tell
|
end tell
|
||||||
EOT
|
EOT
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user