Improved Mac installer.
This commit is contained in:
parent
7551f1827f
commit
8679a2e921
2 changed files with 8 additions and 1 deletions
|
@ -13,8 +13,11 @@ writeLauncher = false
|
||||||
|
|
||||||
[MacPkg]
|
[MacPkg]
|
||||||
appName = AkVirtualCamera
|
appName = AkVirtualCamera
|
||||||
|
productTitle = AkVirtualCamera
|
||||||
|
description = Virtual Camera for Mac
|
||||||
identifier = org.webcamoidprj.AkVirtualCamera
|
identifier = org.webcamoidprj.AkVirtualCamera
|
||||||
subFolder = AkVirtualCamera
|
subFolder = AkVirtualCamera
|
||||||
|
licenseFile = COPYING
|
||||||
installScripts = ports/deploy/mac/installScripts
|
installScripts = ports/deploy/mac/installScripts
|
||||||
uninstallScript = ports/deploy/mac/uninstall.sh
|
uninstallScript = ports/deploy/mac/uninstall.sh
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,11 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
packagePath=$1
|
||||||
|
installDir=$2
|
||||||
|
volumeInstallDir=$3
|
||||||
|
|
||||||
appName=AkVirtualCamera
|
appName=AkVirtualCamera
|
||||||
targetDir=/Applications/${appName}
|
targetDir=${volumeInstallDir}/${installDir}/${appName}
|
||||||
|
|
||||||
# Remove old plugin
|
# Remove old plugin
|
||||||
rm -rf "/Library/CoreMediaIO/Plug-Ins/DAL/${appName}.plugin"
|
rm -rf "/Library/CoreMediaIO/Plug-Ins/DAL/${appName}.plugin"
|
||||||
|
|
Loading…
Reference in a new issue