Chiamata build con variabile d'ambiente.
This commit is contained in:
parent
ff51cf8e51
commit
94be1e6ac9
@ -271,7 +271,7 @@ class Build(object):
|
|||||||
|
|
||||||
buildopts_str = str.join(' ', buildopts)
|
buildopts_str = str.join(' ', buildopts)
|
||||||
# Build the number-specific build
|
# 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}")
|
print(f"Built AppImage version {self.appversion}")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user