Corretto flusso di rebuild.
This commit is contained in:
parent
249527c78c
commit
a059e27a20
3
build.py
3
build.py
@ -117,9 +117,9 @@ class Build(object):
|
||||
os.makedirs(bindir, exist_ok = True)
|
||||
os.chdir(bindir)
|
||||
subprocess.run("find ../../opt -name soffice -path '*programm*' -exec ln -s {} %s \;" % binaryname, shell=True)
|
||||
os.chdir(self.appimagedir)
|
||||
|
||||
# Download AppRun from github
|
||||
os.chdir(self.appimagedir)
|
||||
apprunurl = "https://github.com/AppImage/AppImageKit/releases/download/continuous/AppRun-{arch}".format(arch = self.__arch__)
|
||||
urllib.request.urlretrieve(apprunurl, 'AppRun')
|
||||
os.chmod('AppRun', 0o755)
|
||||
@ -130,6 +130,7 @@ class Build(object):
|
||||
appversion += '.help'
|
||||
|
||||
# Building app
|
||||
os.chdir(self.appnamedir)
|
||||
subprocess.run("VERSION={version} ./appimagetool -v ./{appname}.AppDir/".format(version = appversion, appname = self.__appname__), shell=True)
|
||||
|
||||
print("Built AppImage version {version}".format(version = appversion))
|
||||
|
Reference in New Issue
Block a user