Chiamata build con variabile d'ambiente.

This commit is contained in:
Emiliano Vavassori 2022-04-08 01:32:10 +02:00
parent ff51cf8e51
commit 94be1e6ac9
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ class Build(object):
buildopts_str = str.join(' ', buildopts)
# Build the number-specific build
subprocess.run(shlex.split(f"VERSION={self.appversion} ./appimagetool {buildopts_str} -v ./{self.appname}.AppDir/"))
subprocess.run(shlex.split(f"{self.appnamedir}/appimagetool {buildopts_str} -v ./{self.appname}.AppDir/"), env={ 'VERSION': self.appversion })
print(f"Built AppImage version {self.appversion}")