Fix issue with AppImage package naming/moving.

master
Dominik Deák 5 years ago
parent f23f29c31f
commit d56a7a3030
  1. 6
      Scripts/Detail/Build.py

@ -206,7 +206,7 @@ class BuildSystem:
appImagePath = utility.joinPath( config.synergyBuildPath(), self.productPackageName + ".AppDir" )
# Needed by linuxdeploy
os.environ[ "VERSION" ] = "-".join( [ self.productVersion, self.productStage, self.platformString ] ).lower()
os.environ[ "VERSION" ] = "-".join( [ self.productVersion, self.productStage ] ).lower()
utility.runCommand( "./linuxdeploy "
'--appdir "' + appImagePath + '" '
@ -221,10 +221,10 @@ class BuildSystem:
os.unsetenv( "VERSION" )
for fileName in glob.glob( "/*.AppImage" ):
for fileName in glob.glob( "*.AppImage" ):
shutil.move(
utility.joinPath( config.toolsPath(), fileName ),
utility.joinPath( config.binariesPath(), fileName ) )
utility.joinPath( config.binariesPath(), self.productPackageName + ".AppImage" ) )
def __linuxMakeDebian( self ):

Loading…
Cancel
Save