From f48189e3b33517c5d0ca627ac5c653b09798b3b8 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Sat, 26 Mar 2022 01:46:08 +0100 Subject: [PATCH] Correzione versionamento della appimage con zsync. --- loaih/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/loaih/__init__.py b/loaih/__init__.py index b07746c..b055959 100644 --- a/loaih/__init__.py +++ b/loaih/__init__.py @@ -47,9 +47,9 @@ class Build(object): self.appimagefilename[u'x86'] = self.appname + '-' + self.version + self.languagepart + self.helppart + '-x86.AppImage' self.appimagefilename[u'x86_64'] = self.appname + '-' + v.version + self.languagepart + self.helppart + '-x86_64.AppImage' - version = str.join('.', self.version.split('.')[0:2]) - self.zsyncfilename[u'x86'] = self.appname + '-' + version + self.languagepart + self.helppart + '-x86.AppImage.zsync' - self.zsyncfilename[u'x86_64'] = self.appname + '-' + version + self.languagepart + self.helppart + '-x86_64.AppImage.zsync' + myver = str.join('.', self.version.split('.')[0:2]) + self.zsyncfilename[u'x86'] = self.appname + '-' + myver + self.languagepart + self.helppart + '-x86.AppImage.zsync' + self.zsyncfilename[u'x86_64'] = self.appname + '-' + myver + self.languagepart + self.helppart + '-x86_64.AppImage.zsync' def check(self, storage_path):