diff --git a/loaih/__init__.py b/loaih/__init__.py index e3fe8e7..249a32d 100644 --- a/loaih/__init__.py +++ b/loaih/__init__.py @@ -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}")