mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 19:44:15 +02:00
9 lines
217 B
Python
9 lines
217 B
Python
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)
|