Corretta determinazione storage in cui spostare le build.
This commit is contained in:
parent
66bcd2b39c
commit
181940b365
@ -46,9 +46,10 @@ class Build(object):
|
||||
|
||||
def check(self, storage_path):
|
||||
"""Checking if the requested AppImage has been already built."""
|
||||
self.storage_path = storage_path
|
||||
self.storage_path += ('/daily' if self.query == 'daily' else '')
|
||||
self.storage_path += ('/prerelease' if self.query == 'prerelease' else '')
|
||||
self.storage_path = storage_path + ('/portable' if self.portable else '')
|
||||
self.storage_path += ('/portable' if self.portable else '')
|
||||
# Incompatibilities - if portable and updatable are asked together,
|
||||
# only portable will be built.
|
||||
if self.portable and self.updatable:
|
||||
@ -201,8 +202,7 @@ class Build(object):
|
||||
# for the daily build, updatable builds work if the latest one
|
||||
# provide updates.
|
||||
if self.query == 'daily':
|
||||
zsync = self.appname + self.version.split('-')[0] + self.languagepart + ('.help' if self.offline_help else '') + '-' + arch + '.AppImage.zsync'
|
||||
else:
|
||||
appversion = 'daily'
|
||||
zsync = self.appimagefilename[arch] + '.zsync'
|
||||
subprocess.run("VERSION={version} ./appimagetool -u 'zsync|{zsync}' -v ./{appname}.AppDir/".format(version = appversion, zsync = zsync, appname = self.appname), shell=True)
|
||||
|
||||
|
Reference in New Issue
Block a user