mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 08:14:16 +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):
|
||||
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:
|
||||
f.write(desktop_file)
|
||||
Reference in New Issue
Block a user