From 009503fa36f9c74b72eed9aca567f4dd62c71b32 Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Mon, 24 Jun 2019 15:08:13 -0300 Subject: [PATCH] Changing 'register_app.py' to generate the .desktop file to local dir --- aur/{register_app.py => desktop_entry.py} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename aur/{register_app.py => desktop_entry.py} (92%) diff --git a/aur/register_app.py b/aur/desktop_entry.py similarity index 92% rename from aur/register_app.py rename to aur/desktop_entry.py index 98516e09..e927f86f 100644 --- a/aur/register_app.py +++ b/aur/desktop_entry.py @@ -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)