Relocate appification

This commit is contained in:
Valentin Niess
2025-05-20 22:01:34 +02:00
parent 75f10bbdc4
commit 331fc6ab7f
6 changed files with 338 additions and 231 deletions

View File

@@ -56,13 +56,20 @@ def execute(tag, abi):
tag = abi
)
appdir = Path(tmpdir) / 'AppDir'
python_extractor.extract(appdir)
python_extractor.extract(appdir, appify=True)
fullname = '-'.join((
f'{python_extractor.impl}{python_extractor.version.long()}',
abi,
f'{tag}_{arch}'
))
shutil.move(appdir, os.path.join(pwd, fullname))
# XXX build_appimage(destination=_get_appimage_name(abi, tag))
destination = f'{fullname}.AppImage'
build_appimage(
appdir = str(appdir),
destination = destination
)
shutil.move(
Path(tmpdir) / destination,
Path(pwd) / destination
)