[improvement][appimage] new initialization task that checks if the installed AppImage files have symlinks associated with

This commit is contained in:
Vinicius Moreira
2020-06-16 18:51:13 -03:00
parent 20d6f0fa35
commit c66bd4d900
13 changed files with 147 additions and 68 deletions

View File

@@ -0,0 +1,8 @@
import os
def find_appimage_file(folder: str) -> str:
for r, d, files in os.walk(folder):
for f in files:
if f.lower().endswith('.appimage'):
return '{}/{}'.format(folder, f)