Non faccio rimuovere la cartella per ulteriori controlli.
This commit is contained in:
parent
e837dd600e
commit
e51cf40b76
6
build.py
6
build.py
|
@ -97,8 +97,8 @@ class Build(object):
|
||||||
os.chmod('AppRun', 0o755)
|
os.chmod('AppRun', 0o755)
|
||||||
|
|
||||||
os.chdir(os.path.join(self.__builddir__, self.__appname__))
|
os.chdir(os.path.join(self.__builddir__, self.__appname__))
|
||||||
# Download appimagetool from probonopd repo on github
|
# Download appimagetool from github
|
||||||
appimagetoolurl = "https://github.com/probonopd/AppImageKit/releases/download/continuous/appimagetool-{arch}.AppImage".format(arch = self.__arch__)
|
appimagetoolurl = "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-{arch}.AppImage".format(arch = self.__arch__)
|
||||||
urllib.request.urlretrieve(appimagetoolurl, 'appimagetool')
|
urllib.request.urlretrieve(appimagetoolurl, 'appimagetool')
|
||||||
os.chmod('appimagetool', 0o755)
|
os.chmod('appimagetool', 0o755)
|
||||||
|
|
||||||
|
@ -112,7 +112,7 @@ class Build(object):
|
||||||
os.chdir('/tmp')
|
os.chdir('/tmp')
|
||||||
|
|
||||||
def __del__(self):
|
def __del__(self):
|
||||||
del self.__builddir__
|
#del self.__builddir__
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in New Issue