Fixed deploy scripts.
This commit is contained in:
parent
14265e1220
commit
217d7ae25e
3 changed files with 11 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue