mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 14:24:15 +02:00
Changing 'register_app.py' to generate the .desktop file to local dir
This commit is contained in:
@@ -18,7 +18,7 @@ apps_path = '{}/.local/share/applications'.format(str(Path.home()))
|
|||||||
if not os.path.exists(apps_path):
|
if not os.path.exists(apps_path):
|
||||||
os.mkdir(apps_path)
|
os.mkdir(apps_path)
|
||||||
|
|
||||||
file_path = '{}/fpakman.desktop'.format(apps_path)
|
file_path = 'fpakman.desktop'.format(apps_path)
|
||||||
|
|
||||||
with open(file_path, 'w+') as f:
|
with open(file_path, 'w+') as f:
|
||||||
f.write(desktop_file)
|
f.write(desktop_file)
|
||||||
Reference in New Issue
Block a user