#!/bin/bash

echo "---start 2c-audio plug-in setup main post-update script---"
echo ""

auth_file_path="/Library/Application Support/2C-Audio/Breeze/Res/auth.prop"
auth_file_tmp_path="$INSTALLER_TEMP/auth.prop"

# restore the backup authorization file

echo $auth_file_path
echo ""
echo $auth_file_tmp_path
echo ""
cp "$auth_file_tmp_path" "$auth_file_path"

mv -f "$INSTALLER_TEMP/user" "/Library/Application Support/2C-Audio/Breeze/Presets"

echo ""
echo "---end 2c-audio plug-in setup main post-update script---"

exit 0