Fixed bundle search directory.

This commit is contained in:
Gonzalo Exequiel Pedone 2021-02-23 10:05:13 -03:00
parent 6d01e08aa7
commit 3735240225
No known key found for this signature in database
GPG key ID: B8B09E63E9B85BAF

View file

@ -44,8 +44,7 @@ class Deploy(DTDeployBase.DeployBase, DTQt5.Qt5Tools):
self.programName = 'AkVirtualCamera' self.programName = 'AkVirtualCamera'
self.adminRights = True self.adminRights = True
self.packageConfig = os.path.join(self.buildDir, 'package_info.conf') self.packageConfig = os.path.join(self.buildDir, 'package_info.conf')
self.rootInstallDir = os.path.join(self.installDir, 'Applications') self.appBundleDir = os.path.join(self.installDir, self.programName + '.plugin')
self.appBundleDir = os.path.join(self.rootInstallDir, self.programName + '.plugin')
self.execPrefixDir = os.path.join(self.appBundleDir, 'Contents') self.execPrefixDir = os.path.join(self.appBundleDir, 'Contents')
self.binaryInstallDir = os.path.join(self.execPrefixDir, 'MacOS') self.binaryInstallDir = os.path.join(self.execPrefixDir, 'MacOS')
self.mainBinary = os.path.join(self.binaryInstallDir, self.programName) self.mainBinary = os.path.join(self.binaryInstallDir, self.programName)
@ -68,7 +67,7 @@ class Deploy(DTDeployBase.DeployBase, DTQt5.Qt5Tools):
print('Stripping symbols') print('Stripping symbols')
self.binarySolver.stripSymbols(self.installDir) self.binarySolver.stripSymbols(self.installDir)
print('Resetting file permissions') print('Resetting file permissions')
self.binarySolver.resetFilePermissions(self.rootInstallDir, self.binarySolver.resetFilePermissions(self.installDir,
self.binaryInstallDir) self.binaryInstallDir)
print('\nWritting build system information\n') print('\nWritting build system information\n')
self.writeBuildInfo() self.writeBuildInfo()