Fixed deploy scripts.

This commit is contained in:
Gonzalo Exequiel Pedone 2020-11-18 17:28:42 -03:00
parent 14265e1220
commit 217d7ae25e
No known key found for this signature in database
GPG key ID: B8B09E63E9B85BAF
3 changed files with 11 additions and 4 deletions

View file

@ -22,7 +22,12 @@ if "%PLATFORM%" == "x86" (
set PYTHON_PATH=C:\%PYTHON_VERSION%-x64
)
cd ports/deploy
git clone https://github.com/webcamoid/DeployTools.git
cd ../..
set MAKE_PATH=%TOOLSDIR%\bin\%MAKETOOL%.exe
set PATH=%QTDIR%\bin;%TOOLSDIR%\bin;%PATH%
set PYTHONPATH=%cd%\ports\deploy\DeployTools
%PYTHON_PATH%\python.exe ports\deploy\deploy.py

View file

@ -70,7 +70,8 @@ class Deploy(DTDeployBase.DeployBase, DTQt5.Qt5Tools):
self.installerScript = os.path.join(self.rootDir, 'ports/deploy/installscript.posix.qs')
self.changeLog = os.path.join(self.rootDir, 'ChangeLog')
self.outPackage = os.path.join(self.pkgsDir,
'webcamoid-installer-{}-{}.run'.format(self.programVersion,
'{}-installer-{}-{}.run'.format(self.programName,
self.programVersion,
platform.machine()))
def detectAppImage(self):

View file

@ -74,7 +74,8 @@ class Deploy(DTDeployBase.DeployBase, DTQt5.Qt5Tools):
self.installerTargetDir = appsDir + '/' + self.programName + '.plugin'
arch = 'win32' if self.targetArch == '32bit' else 'win64'
self.outPackage = os.path.join(self.pkgsDir,
'webcamoid-{}-{}.exe'.format(self.programVersion,
'{}-{}-{}.exe'.format(self.programName,
self.programVersion,
arch))
print('Stripping symbols')