mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 14:24:16 +02:00
[improvement][appimage] new initialization task that checks if the installed AppImage files have symlinks associated with
This commit is contained in:
8
bauh/gems/appimage/util.py
Normal file
8
bauh/gems/appimage/util.py
Normal 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)
|
||||
Reference in New Issue
Block a user