Delete cameras before uninstall in Mac.
This commit is contained in:
parent
84d630e422
commit
5f68d6bfd2
2 changed files with 12 additions and 1 deletions
|
@ -11,6 +11,16 @@ Component.prototype.createOperations = function()
|
||||||
{
|
{
|
||||||
component.createOperations();
|
component.createOperations();
|
||||||
|
|
||||||
|
// Remove virtual cameras
|
||||||
|
if (installer.isUninstaller()) {
|
||||||
|
component.addOperation("Execute",
|
||||||
|
"@TargetDir@/@Name@.plugin/Contents/Resources/AkVCamManager",
|
||||||
|
"remove-devices");
|
||||||
|
component.addOperation("Execute",
|
||||||
|
"@TargetDir@/@Name@.plugin/Contents/Resources/AkVCamManager",
|
||||||
|
"update");
|
||||||
|
}
|
||||||
|
|
||||||
// Remove old plugin
|
// Remove old plugin
|
||||||
if (installer.isInstaller()) {
|
if (installer.isInstaller()) {
|
||||||
component.addOperation("ConsumeOutput",
|
component.addOperation("ConsumeOutput",
|
||||||
|
|
|
@ -13,6 +13,7 @@ Component.prototype.createOperations = function()
|
||||||
let archs = ["x86", "x64"];
|
let archs = ["x86", "x64"];
|
||||||
|
|
||||||
for (let i in archs) {
|
for (let i in archs) {
|
||||||
|
// Remove virtual cameras
|
||||||
if (installer.isUninstaller()) {
|
if (installer.isUninstaller()) {
|
||||||
let managerPath =
|
let managerPath =
|
||||||
installer.value("TargetDir")
|
installer.value("TargetDir")
|
||||||
|
|
Loading…
Reference in a new issue