Skip to content

Commit 7cc4575

Browse files
committed
improvements to the install process
1 parent 148ecf7 commit 7cc4575

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

native/pkg/postinstall.sh

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@ if [ "$CURRENT_DRIVER_VERSION" != "$NEEDED_DRIVER_VERSION" ]; then
1313
# Copy driver into Plug-Ins folder
1414
cp -f -r "$DIR/eqMac.driver" /Library/Audio/Plug-Ins/HAL/ &>/dev/null
1515

16-
msg="It is recommended you restart your Mac for the eqMac Audio Driver to function properly."
1716
if osascript <<EOT
1817
tell application id "com.apple.systemuiserver"
19-
display alert "Warning" \
20-
message "$msg" \
21-
buttons {"Skip restart", "Restart Mac"} \
22-
default button "Restart Mac" \
23-
cancel button "Skip restart" \
24-
as warning
18+
display dialog \
19+
"It is recommended you restart your Mac for the eqMac Audio Driver to function properly." \
20+
buttons {"Skip restart", "Restart Mac"} \
21+
default button "Restart Mac" \
22+
cancel button "Skip restart" \
23+
with icon POSIX file "/Applications/eqMac.app/Contents/Resources/AppIcon.icns"
2524
end tell
2625
EOT
2726
then

0 commit comments

Comments
 (0)