diff --git a/installer/mac/preinstall.sh b/installer/mac/preinstall.sh new file mode 100644 index 00000000..b722db38 --- /dev/null +++ b/installer/mac/preinstall.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +sudo killall Symphony +sudo rm -rf /Applications/Symphony.app \ No newline at end of file diff --git a/installer/mac/symphony-mac-packager.pkgproj b/installer/mac/symphony-mac-packager.pkgproj index dd617eda..9d135dad 100644 --- a/installer/mac/symphony-mac-packager.pkgproj +++ b/installer/mac/symphony-mac-packager.pkgproj @@ -450,6 +450,13 @@ PATH_TYPE 1 + PREINSTALL_PATH + + PATH + preinstall.sh + PATH_TYPE + 1 + RESOURCES