Improved Mac installer.

This commit is contained in:
Gonzalo Exequiel Pedone 2021-11-10 16:31:00 -03:00
parent 7551f1827f
commit 8679a2e921
No known key found for this signature in database
GPG key ID: B8B09E63E9B85BAF
2 changed files with 8 additions and 1 deletions

View file

@ -13,8 +13,11 @@ writeLauncher = false
[MacPkg]
appName = AkVirtualCamera
productTitle = AkVirtualCamera
description = Virtual Camera for Mac
identifier = org.webcamoidprj.AkVirtualCamera
subFolder = AkVirtualCamera
licenseFile = COPYING
installScripts = ports/deploy/mac/installScripts
uninstallScript = ports/deploy/mac/uninstall.sh

View file

@ -1,7 +1,11 @@
#!/bin/sh
packagePath=$1
installDir=$2
volumeInstallDir=$3
appName=AkVirtualCamera
targetDir=/Applications/${appName}
targetDir=${volumeInstallDir}/${installDir}/${appName}
# Remove old plugin
rm -rf "/Library/CoreMediaIO/Plug-Ins/DAL/${appName}.plugin"